Example: Inverting/brightening CMM
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP
The implementation of a color inverting/brightening CMM is provided with the Harlequin Core SDK. This can be changed from an inverting process (InvertColors)
to a brightening process (BrightenColors)
by editing a line in the input PostScript language configuration file CMYKCMMComposite300dpi. In addition, an IdentityMap
custom color space is provided which does not do any additional processing on the color data.
NOTE: When using the IdentityMap option, the output may differ from when the custom CMM example configuration is not used. This is because the configuration also specifies some ICC profiles.
The CMYKCMMComposite300dpi configuration file can be found in \HHR_XXrX\SW\TestConfig
Comment out the lines you do not require:
% Enable one of the following /InputColorSpace lines
/InputColorSpace [ /CMM (InvertColors) /DeviceRGB /DeviceRGB ]
% /InputColorSpace [ /CMM (BrightenColors) /DeviceRGB /DeviceRGB ]
% /InputColorSpace [ /CMM (IdentityMap) /DeviceRGB /DeviceRGB ]
The code is found in cmm_example.h
and cmm_example.c
and can be found at:
\HHR_XXrX\lib\cmmeg\export
\HHR_XXrX\lib\cmmeg\src