DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21420>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21420

Support for CMYK JPGs broken





------- Additional Comments From [EMAIL PROTECTED]  2003-07-08 21:45 -------
Attachment 7175 is my solution to the bug.

It examines a region of the header FFE1 which appears to consistently identify
JPGs generated by Adobe Photoshop with the text string "Adobe Photoshop"
beginning 124 bytes past the index of "FFE1".  I have tested this patch with
five unique CMYK JPGs generated by Adobe Photoshop 7.

While a better solution would be to check if the CMYK channel values are indeed
inverted, I know of no way to perform such a test.  The following URL, part of
the IJG JPEG library, seems to confirm that there is no such test:

http://courses.cs.deu.edu.tr/cse566/libjpeg.htm

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to