KCMS CMM Developer's Guide

KcsXform Example

If you derive from the KcsXForm class, you need to provide a KcsXForm class entry such as the example entries below:

#ICC interpolation table 8 bit, default CMM 
class="KCS_Xfrm" name="mft1dflt"
    kcsLoadableModule="kcsEKXfrmucp.so.1";  

#ICC interpolation table 16 bit, default CMM 
class="KCS_Xfrm" name="mft2dflt"
    kcsLoadableModule="kcsEKXfrmucp.so.1";  

#ICC interpolation table 8 bit, default CMM 
class="KCS_Xfrm" name="mft1KCMS"
    kcsLoadableModule="kcsEKXfrmucp.so.1";  

#ICC interpolation table 16 bit, default CMM 
class="KCS_Xfrm" name="mft2KCMS"
    kcsLoadableModule="kcsEKXfrmucp.so.1";  

#KCMS universal color processor table 
class="KCS_Xfrm" name="ucpKCMS"
    kcsLoadableModule="kcsEKXfrmucp.so.1";

The name field is a combination of a unique 4-character transform identifier and the CMM Id. (The transform identifier must be registered with the ICC if the profile and CMM are to be made available to the public.) The library turns name back into a string and searches all of the appropriate OWconfig class entries.

Inside an ICC profile, the type of transform is defined by a type identifier that indicates whether it is an 8- or 16-multi function table, indicated by the signature element of either the Lut8Type (mft1) or Lut16Type (mft2). Default values have been supplied for these cases: mft1dflt and mft2dflt.