Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 04/04/2013
Components: CFIMAGE
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final / 284738, 290259
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Windows 7
Vote Count: 0
Problem Description:
jpg in cmyk colorspace cannot be read by cfimage. This bug has never been fixed since cfimage was introduced. I was told it has been fixed by http://blogs.coldfusion.com/post.cfm/image-enhancements-in-coldfusion-10 but it wasn't. Any jpg cmyk image converted by http://www.rgb2cmyk.org/ would trigger the exception.
Steps to Reproduce:
<cfimage action="read" name="x" source="someCmykImage.jpg">
Actual Result:
An exception occurred while trying to read the image.
Inconsistent metadata read from stream
coldfusion.image.ImageReader$ImageReadingException: An exception occurred while trying to read the image.
at coldfusion.image.ImageReader.readJPEGImage(ImageReader.java:274)
at coldfusion.image.ImageReader.readImage(ImageReader.java:121)
at coldfusion.image.Image.<init>(Image.java:275)
Expected Result:
no exception
Any Workarounds:
convert to rgb with 3rd party tool like imagemagick first.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3536081
External Customer Info:
External Company:
External Customer Name: henrylearn2rock
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: