Harlequin RIP SDK
Color management examples

Modules

 ICM2 CMM example
 This example provides a core color management example module that acts as an interface to Microsoft's Image Color Management (ICM2) library.
 
 Common code for all CMM examples
 The CMM examples share functions to call the sw_memory_api callback API provided by the RIP for allocation and deallocation.
 
 Custom color space CMM example
 This example provides a core color management module that implements a collection of custom color spaces that may be used by the setinterceptcolorspace and setreproduction color operators.
 
 Combined LittleCMS and custom color space CMM example
 This example provides a core color management example module that both interfaces to the open source LittleCMS ICC CMM and also implements the custom color spaces from the Custom color space example module.
 
 LittleCMS CMM example
 This example provides a core color management example module that acts as an interface to the open source LittleCMS color management library.
 
 Pure color preservation with ICC transforms
 This example module handles colors conversions that normally require an ICC CMM.
 

Detailed Description

The Core RIP provides a color management API that can be used to extend the color management options available to PDF and PostScript language jobs being processed by the RIP.

The Color Management API is implemented as a module that can be linked directly into an HHR RIP.

The Color Management API implements two different functions:

The SDK includes these examples of Core Color Management API use:

To configure the RIP with a color managment module, use this fragment in the configuration PostScript:

(CMMname) setalternatecmm
Note
The memory allocation and deallocation funtions provided by the CMM API should be used by alternate CMMs whenever possible, rather than the functions supplied by the operating system. Failure to do so may result in difficulties when configuring the RIP for optimal memory performance, especially in memory constrained environments.