Skip to main content
Skip table of contents

(v13) Example: Integrating 3rd party code with the CMM API

This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP

Also provided with the Harlequin Core SDK is an implementation of demonstration code, which illustrates how to hook up the Harlequin Core CMM API to 3rd party code. The current examples include LittleCMS (from ) and color management routines from Microsoft (ICM2).

The code for the LittleCMS example is in the files cmm_littlecms.h/cmm_littlecms.c which can be found at:


The code for the Microsoft example is in the files cmm_icm2.h/cmm_icm2.c which can be found at:


NOTE:  The difference in location is because the LittleCMS code can be used on other platforms, whereas the ICM2 code is PC only.

A requirement of building the ICM2 example is that the platform SDK is installed on the build machine. Because of this, the version of the code provided within the Harlequin Core SDK includes this CMM example built-in. However, if you want to use your own build (of clrip.exe) you must follow the instructions provided in the Makefile which can be found in the following location depending on your operating system:

For Windows 32-bit OS:


# Add this line to build with support for the ICM2 example code (requiring

# the Platform SDK to be installed).


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.