convert a jpg file to UTF-8 without making it corrupt
13,503
I can suggest you base64 encoding, which will enconde files in text for you. Though I am not familiar with the algorithm itself, I can present several websites that do it for you:
- https://www.base64-image.de/
- http://www.askapache.com/online-tools/base64-image-converter/
- http://www.dailycoding.com/utils/converter/imagetobase64.aspx
Adidtionaly, you can also use such images in your own website by adding them to the HTML. The following answer has some good information regarding this method:
Author by
bb441db
Updated on June 04, 2022Comments
-
bb441db almost 2 years
I Have a .jpg file encoded ANSI, I tried converting it to UTF-8 but it made the image corrupt.
NOTE: if you have a solution for any other image format, please post them.