Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.4, 5.0.0 alpha1, 5.0.0 beta1
-
Fix Version/s: 5.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
Description
The cmyk colour conversion to rgb algorithm has always produced image that were a little dark when compared to acrobat. During the image refactoring work there was a consolidation as to which cmyk algorirthms where being used add a a result the black levels are a lot closer then in 4.x.
I'm going to revert our fudge value but also include a system property org.icepdf.core.cmyk.black=255. Values greater than 255 will lighten an image and values less than 255 will darken the image.
I'm going to revert our fudge value but also include a system property org.icepdf.core.cmyk.black=255. Values greater than 255 will lighten an image and values less than 255 will darken the image.
We actually have to place for black configuration. The first is in imaging and uses 255 int values and the other is for colorants for fill and stroke where we use 0-1 float values so we need two properties:
org.icepdf.core.cmyk.colorant.black=1.0
org.icepdf.core.cmyk.image.black=255