Skip to content Skip to sidebar Skip to footer

Encode Image File To Base 64

I'm using an online service which need an image in base 64. I've done a simple form where I can upload an image, and then my php encode the image in base 64, like this : $base64Ima

Solution 1:

Your html code contains invalid base64 code. I think that slashes are skipped while you are encoding the image to json.


Post a Comment for "Encode Image File To Base 64"