Weird problem.
I have a set of test cases that pass just fine loading a known CMYK jpeg via ImageNew(). Later, with no restart of the app server, these same test cases fail. Again, after a while, the test case passes again. I've dug into the Java a little bit, and I wonder if the ImageReader implementation being used doesn't switch out once in a while -- like maybe a hashtable of ImageReaders reorders or something.
I know the CMYK is only partially supported, but I could get data with ImageNew and ImageInfo showing it was a CMYK file, then later on, it would throw "Image Not Supported" errors.
Anybody have knowledge of these inner workings to provide some insight? Smells a bit like a bug to me, but I can't consistently replicate it.
-Dave