Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.2, 6.2.3
-
Fix Version/s: 6.2.4
-
Component/s: Colour, Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #14060 - https://icesoft.my.salesforce.com/5007000001iLses
Description
Some of the embedded images in the PDF file are rendered with the wrong colours and/or background colours. They are rendered in shades of green instead of blue.
Issue Links
- is duplicated by
-
PDF-1130 Error detecting JPEG colour space.
- Closed
Activity
Arran Mccullough
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51382 | Mon Mar 27 10:56:00 MDT 2017 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/ImageUtility.java
MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/ImageStream.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51383 | Mon Mar 27 11:15:58 MDT 2017 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51384 | Mon Mar 27 11:16:32 MDT 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 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #51420 | Wed Apr 12 07:27:03 MDT 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 -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I finally had a chance to take a much closer look into this issue. The ImageUtility class is used to sniff out the JPEG header data and try to make some educated guesses about what colour model is used. The current implementation is pretty solid but was missing some obvious cases for detecting colour models for given SOS values of 3 and 4. Take these values into account seems to address a few corner case issues where we incorrectly detected YCbCr colour space.