File or image to base64

1
Is it possible to capture an image and convert it to base64. Also any other file to base64 ?    
asked
1 answers
5

Yes, the community commons has a java function for that: https://appstore.home.mendix.com/link/app/170/Mendix/Community-Commons-Function-Library

Base64EncodeFile - Converts an unencode file to a base 64 encoded string.

So you can convert any filedocument (so also an image document) to a base64 encoded string.

Regards,

Ronald

 

answered