KCMS Application Developer's Guide

KCMS API Functional Overview

The KCMS API consists of 14 interfaces for manipulating profiles. Table 2-2 alphabetically lists and briefly describes each function.

Table 2-2 KCMS API Functions

Function 

Description 

KcsAvailable()

Determines if the KCMS framework has been installed on the system (for cross-platform compatibility). 

KcsConnectProfiles()

Combines existing profiles to create a new profile or restricts functionality of a single profile for better efficiency. 

KcsCreateProfile()

Creates an empty profile containing neither attributes nor CMM-specific data. 

KcsEvaluate()

Applies a color profile to input color data to produce color-corrected output data. 

KcsFreeProfile()

Releases all resources a loaded profile is using (for example, memory). 

KcsGetAttribute()

Finds the value of a particular attribute of a given profile. 

KcsGetLastError()

Finds information about the most recent error. 

KcsLoadProfile()

Loads a profile and its resources into the system and returns the profile Id. 

KcsModifyLoadHints()

Applies a new set of load hints to a profile already loaded. 

KcsOptimizeProfile()

Optimizes a profile by reducing its size, increasing its speed, or increasing its accuracy. 

KcsSaveProfile()

Saves a loaded profile and any changes to its attributes or profile data. 

KcsSetAttribute()

Creates, modifies, or deletes a specific attribute in a profile. 

KcsSetCallback()

Associates a callback function with any of the API functions that support callbacks. 

KcsUpdateProfile()

Changes the profile data in the loaded profile according to the supplied measurement data.