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
Activity
Patrick Corless
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #50766 | Tue Feb 28 09:54:36 MST 2017 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #50767 | Tue Feb 28 10:22:43 MST 2017 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
|
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.2.4 [ 13099 ] |
Patrick Corless
made changes -
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.