Jump to content
mandra

Convert Image to base64

Recommended Posts

Dear Masters,

Currently I am using Filemaker pro 9. It has limited function to convert image to base64 (blob). As I know there are script on scriptmaster that can do convert image to base 64. I already try it but no luck. I copy the record of "Base 64 Encode"  and change the script become "return new sun.misc.BASE64Encoder().encode( fmpro.getContainerStream( textToEncode ).getBytes() );" and the key parameter is "textToEncode" and the value I change become container and insert some picture in it. But when I press the Run button the encoded text are mentioning the filename of the picture that I inserted. 

Did I missing something or make some mistake ?

Please give me enlightment. 

Thanks

Mandra

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.