Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.5
-
Fix Version/s: 6.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
Description
A client has submitted a PDF that that has numerous inline images that hava a common deviceRGB colour space but an oncommon 4 bit's per component data packing. The images is rendered slightly yellow instead of white.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 6.3 [ 13093 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52228 | Mon Jan 22 12:24:04 MST 2018 | patrick.corless | |
| Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/RawDecoder.java
|
| Status | Resolved [ 5 ] | Closed [ 6 ] |

The 4-bit packing makes the image decode fall back on our RawDecoder which assumes all rgb images types have 8 bits per component. I've update the method to handle the other bit per components alternatively. The image now renders correctly.