50
© PDF Tools AG – Premium PDF Technology
3-Heights™ PDF to Image Converter API, March 24, 2016 | 46/67
6.1.42
SetCMSEngine
Method:
Boolean SetCMSEngine(String CMSEngine)
Set the Color Management System (CMS) Engine. The following strings are supported:
"None"
If this switch is set to
none
then the algorithms specified in the PDF reference are used. This results in
the maximum possible contrast.
"Neugebauer"
The Neugebauer algorithm efficiently converts CMYK to RGB. It does not need any color profiles.
The results, however, look similar to conversion using color profiles.
"lcms"
(default): Use ICC color profiles. Default profiles are used for all unmanaged device color spaces as
described in sectionColor Profiles
.
FileName
Providing a file name, a configurable version of the Neugebauer algorithm is applied. The coefficients
can be defined in the text file. The default Neugebauer coefficients are listed below (Red, Green, Blue; Color):
0.996078, 0.996078, 0.996078 ; White
0.000000, 0.686275, 0.937255 ; C
0.925490, 0.149020, 0.560784 ; M
1.000000, 0.949020, 0.066667 ; Y
0.215686, 0.203922, 0.207843 ; K
0.243137, 0.247059, 0.584314 ; CM
0.000000, 0.658824, 0.349020 ; CY
0.066667, 0.176471, 0.215686 ; CK
0.929412, 0.196078, 0.215686 ; MY
0.215686, 0.101961, 0.141176 ; MK
0.200000, 0.196078, 0.125490 ; YK
0.266667, 0.266667, 0.274510 ; CMY
0.133333, 0.098039, 0.160784 ; CMK
0.074510, 0.180392, 0.133333 ; CYK
0.215686, 0.121569, 0.113725 ; MYK
0.125490, 0.121569, 0.121569 ; CMYK
The Neugebauer algorithm mixes the colors based on the amount of color and the corresponding weighted coef
ficient. Altering the values for a pure color specifically changes the result for this pure color.
The color transition remains smooth.
6.1.43
SetCMYKProfile
Method:
Boolean SetCMYKProfile(String FileName)
Set the path to the CMYK profile. If no path is set, a default profile is used (seeColor Profiles
).
Parameter:
FileName [String]
The path and file name of the ICC CMYK color profile.