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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Who Viewed the Topic

    1 member has viewed this topic:
    kurucay2000 
×
×
  • Create New...

Important Information

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