how to read image file and store in memory as base64 string in c++? -
i've read few articles on stackoverflow , on internet have not find suitable answer me.
so here's newbie question. have image files sitting on local disk such *.jpg, *.png, , *.gif. want read these files base64 encoded string. how can in c++?
i've tried open file binary , store in std:string. didn't work due 0 byte in data. can suggest solution?
thanks in advance.
Comments
Post a Comment