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

Hi,

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

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

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.

Regards.

 

CDY@44 has reacted to this post.
CDY@44

Thank you for your quick answer.

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