Jump to content

Binary Images


Genx

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

Recommended Posts

I'm required to convert images from binary (i.e. jpegs to Base64)using "Mime Base64" encoding for purpose of upload to a website using xml. Anyone throw me a hint how i could do this using some functions in fm... or given file references using XSLT or maybe vb script Wim?

This is sort of quite urgent so if anyone could lend any sort of help that would be great, i am completely lost after an hour of googling.

Cheers,

~Genx

Link to comment
Share on other sites

Provided you know how to read binary data out of a file (check www.microsoft.com/scripting), then this will do it:

http://www.motobit.com/tips/detpg_Base64Encode/

getting the result back into FM is something else. I know I'm pushing my own product (vbscript plugin at www.grokittools.com) but I did create it for a reason: to make vbscript integration easy...

Link to comment
Share on other sites

This topic is 6523 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.