KCMS CMM Developer's Guide

KcsProfile Class

The KcsProfile class is a base class that represents a color profile. It is a set of attributes that describe the profile and a set of transformations that allow it to perform the appropriate color changes.

The KcsProfile class is hierarchically derived from the KcsLoadable and KcsShareable classes. This means that profiles can be shared by other objects, and are loadable.

The hierarchy below the base KcsProfile class represents different types of profiles in terms of their techniques, rather than their type. For example, both of the different profile types--Effects Color Profile (ECP) and Device Color Profile (DCP)--can be represented by the same derivative. However, a KCMS profile that uses multi-channel linear interpolation must be a different derivative than an XYZ profile that uses XYZ-based transformations and techniques. Profile types can easily be differentiated by the combination and actual values of the attributes contained within the data. The KcsProfile class determines which transformation technologies a specific profile needs and instantiates the appropriate KcsXform derivatives. For a list of attributes and their possible values see the SDK manual KCMS Application Developer's Guide and the ICC specification located on-line in /opt/SUNWsdk/kcms/doc/icc.ps. For the most current version of the ICC specification, see the web site at http://www.color.org

The KcsProfile class provides data and necessary KcsXforms to describe, characterize, and calibrate a color-managed input and output device or any point-processible special effect, such as an image filter. It coordinates and determines the loading, saving, and execution of the transformation for all profile types.


Note -

You must derive from the KcsProfile class if you want your ICC profiles containing your CMM Id to be used as a loadable module instead of the default profile format.


See Chapter 5, KcsProfile Derivative for detailed information.