Skip navigation
d_isenhower
Currently Being Moderated

I see inconsistent ImageNew() failures for CMYK Jpeg Images  (CF10)

Jul 12, 2013 2:00 PM

Tags: #cfimage #cf10 #coldfusion_10

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

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points