Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.4
-
Fix Version/s: 6.3.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
A community member has posted a file that contains three jpeg images that we having trouble distinguishing YCbCr and Cmyk colour spaces. We are incorrectly treating it as Cmyk instead of YCbCr.
I've verified that the images contain the APPE PhotometricInterpretation valued as RGB which we might be able to use as a means to determine the correct 3 component colour mode.
I've verified that the images contain the APPE PhotometricInterpretation valued as RGB which we might be able to use as a means to determine the correct 3 component colour mode.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.2.5 [ 13102 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3 [ 13093 ] | |
Fix Version/s | 6.2.5 [ 13102 ] |
Patrick Corless
made changes -
Fix Version/s | 6.3.1 [ 13113 ] | |
Fix Version/s | 6.3 [ 13093 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52352 | Wed Mar 21 08:21:02 MDT 2018 | patrick.corless | and better differentiate between YCbCr and YCCK encode JEPGs. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/ImageStream.java
MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/RasterOps/YCbCrRasterOp.java MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/filters/FlateDecode.java MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/DctDecoder.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
I've added a code snippet that searches for the Adobe data in the JPEG meta data and returns the value transform key. A value of 1 is YCbCr and 2 is YCCK,