(v13) Retry colors with built-in CMM
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP
An alternate CMM might wish to process some colors specially in a non-ICC manner, whilst the remaining colors would be passed through the ICC transform. Rather than using its own CMM, one option is to conditionally process individual colors itself or with the built-in CMM. The alternate CMM must set the fall_back_to_builtin_cmm capability flag to enable this feature.
One example is for an alternate CMM that preserves pure colors. The invoke_transform API function might test the input color for pureness and either preserve the pure color or pass it through the built-in CMM. Individual calls to invoke_transform tell the RIP to pass the color through the built-in CMM by returning SW_CMM_SUCCESS_USE_BUILTIN. For an illustration of this see cmm_purecolor in the cmmeg directory of the SDK The Harlequin Core Developer’s Guide .