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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -