KCMS CMM Developer's Guide

Creating a KcsProfileFormat Object

Once a KcsProfile object has been created, you can ask it to load itself using the generated KcsIO. Figure 3-5 illustrates the process.

Figure 3-5 Creating a KcsProfileFormat Object

Graphic

In Figure 3-5, the KcsProfile object creates a KcsProfileFormat object pointer using createProfileFormat(). Then createProfileFormat() searches the OWconfig file for loadable entries based on the profile format Id. For ICC profiles, the profile format Id (also called the profile file signature) is always acsp. (See "ICC Profile Header" for details.) Once the KcsProfileFormat object is created, the library generates a KcsAttributeSet object and an array of pointers to KcsXform objects.