Is there a way to convert a .JFIF file to a .jpeg file without using any online tools? I want to do this in java. The problem is that I receive files as a JFIF file. I want to create a base64 string from that, but using that string will not display any images.
Asked
Active
Viewed 1,406 times
0
-
JFIF is an JPEG file. – user3344003 May 04 '18 at 05:14
-
I know that I can open it in internet explorer without any problems. The problem is that when I create a base 64 string from it and set it as the source of an image it does not load. – BrianM May 04 '18 at 05:25
-
That because you need something to convert it from base64 back to JPEG. – user3344003 May 04 '18 at 13:40
-
Should the HTML code work for a JPEG file, the same code should probably work for JFIF; you might give it mime type _application/jpeg_. – Joop Eggen Feb 15 '22 at 08:53
-
Did you get the answer for this? – Anand Feb 28 '23 at 15:23