Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.2
-
Fix Version/s: 6.2.4
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
The document in question has a small header image that doesn't appear to have any header data in the stream do indicate which colour model is being used. The pdf colour space for the mage is CMYK and renders the image correctly.
Our fall back code for missing header data doesn't look at the orginal colour space of the image as defined by the PDF object. I've added a fairly trivial check for CMYK before falling back on YCbCr.
Need to do a full QA run but the fix should be valid
Our fall back code for missing header data doesn't look at the orginal colour space of the image as defined by the PDF object. I've added a fairly trivial check for CMYK before falling back on YCbCr.
Need to do a full QA run but the fix should be valid
Issue Links
- duplicates
-
PDF-1141 Images in PDF are displayed with the wrong colours
- Closed
The QA run failed pretty bad so I think we need to dig a little deeper on our end. We have code that tries to figure out which type of APP14 is used so we can figure out which colour mode to apply. Will need to pull out the JPEG spec to see if we are doing the APP14 parsing correctly.