Author Topic: How can I get a code for b64 to image decoding in c++?  (Read 153 times)

Offline Myles

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
How can I get a code for b64 to image decoding in c++?
« on: November 17, 2016, 07:04:54 PM »
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.
« Last Edit: April 30, 2017, 10:20:30 AM by Sofyene »



Offline Dean

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: A code for b64 to image decoding
« Reply #1 on: April 30, 2017, 10:26:02 AM »
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.


 

Sitemap 1 2 3 4 5 6 7 8 9