Interesting… I guess it might just be a case of tweaking the function to accept EXIF files too (assuming that jpeglib can actually cope with those files). I’ll have a go of that when I get a moment…
Jules,
The problem seems to be with the JUCE jpeg test.
libjpeg works fine.
Here’s a fix.
In file ImageFileFormat.cpp, change to the code below. You may also want to test the first file word to be 0xFFD8 (SOI) , for extra safety.
I did not add this as I wanted to keep the changes to a minimum.