change type image Object -> byte[]