Encode a picture in base64 - Forum

Forum Navigation
Embarcadero contest retweet
You need to log in to create posts and topics.

Encode a picture in base64


Is it possible to choose a picture with FileInput ( I know doing that) and then encode this picture to have it in base64 format ?

@cdy44-2 I think the easiest way is using Fabric Plugin. Take a look here (this sample is included with VisualNEO Web):

Press the "Load Image" button (right down) and then "Save as Base64". It will print the Base64 string to the console but it's stored in a variable.



CDY@44 has reacted to this post.

Thank you for your quick answer.

Open chat
Do you need more info?
Hi, do you have any doubt?