Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 3 - ColorSync Manager Reference for Applications and Device Drivers / Constants and Data Types


ColorSync Manager Element Tags and Signatures for Version 1.0 Profiles

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 CMOpenProfile function (page 3-69), obtain the version 1.0 profile header using the CMGetProfileHeader function (page 3-88), and access version 1.0 profile elements using the CMGetProfileElement function (page 3-87).

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 */
};
Enumerator descriptions

cmCS1ChromTag
The tag signature for the profile chromaticities tag whose element data specifies the XYZ chromaticities for the six primary and secondary colors (red, green, blue, cyan, magenta, and yellow).
cmCS1TRCTag
The tag signature for profile tonal response curve data for the associated device.
cmCS1NameTag
The tag signature for the profile name string. This is an international string consisting of a Macintosh script code followed by a 63-byte text string identifying the profile.
cmCS1CustTag
Private data for a custom CMM.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996