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
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.