![]() |
PATH![]() |
![]() ![]() |
The ICC version 2.x profile format differs from the version 1.0 profile format, and ColorSync Manager routines for updating a profile and searching for profiles do not work with version 1.0 profiles.
However, your application can use version 1.0 profiles with all other ColorSync routines. For example, you can open a version 1.0 profile using the function
CMOpenProfile
, obtain the version 1.0 profile header using the function
CMGetProfileHeader
, and access version 1.0 profile elements using the function
CMGetProfileElement
.
To make this possible, the ColorSync Manager includes support for the version 1.0 profile header structure and synthesizes tags to allow you to access four 1.0 elements outside the version 1.0 profile header. The following enumeration defines these tags:
enum {
cmCS1ChromTag = 'chrm', /* signature for XYZ chromaticities tag */
cmCS1TRCTag = 'trc ', /* signature for profile tonal response curve
data from associated device */
cmCS1NameTag = 'name', /* signature for profile name string tag */
cmCS1CustTag = 'cust' /* signature for private data for custom CMM */
};