Jump to content

Convert Image to base64


This topic is 2620 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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

Link to comment
Share on other sites

This topic is 2620 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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