How can I get a code for b64 to image decoding in c++?

Started by Errol, November 17, 2016, 07:04:54 PM

Previous topic - Next topic

Myles

Hi everyone, I'd like to ask you a particular problem, how can i get a code for b64 to image decoding in c++? Thank you kindly for giving me your opinion Help.

Dean

Hi,

Put the image path in a File object, set the encoding to 'BINARY', use myFile.open('r') and retrieve the binary string in a variable: var s = myFile.read();

Then, use base64.js (or similar lib) to convert the string into B64.