Hi,
It seems to me that Juce does not recognize jpeg files if they contain EXIF (camera) data?
I think the issue is this function:
[code]bool JPEGImageFormat::canUnderstand (InputStream& in)
{
const int bytesNeeded = 10;
char header [bytesNeeded];
return (in.read (header, bytesNeeded) == bytesNeeded)
&& header[6] == 'J'
&& header[7] == 'F'
&& header[8] == 'I'
&& header[9] == 'F';
}
[/code]
JPG files containing EXIF data would fail this test.
Any way to work around this?
[/code]