![]() |
PATH![]() |
![]() ![]() |
The ColorSync Manager defines the structure
CM2Header
to represent the profile header for the version 2.x profile format defined by the ICC.The
deviceAttributes
field of the
CM2Header
structure is an array of two unsigned long values whose bits specify information about a profile. The ICC reserves the use of
deviceAttributes[1]
and has assigned values to bits 0 and 1. All the bits of
deviceAttributes[0]
are reserved for use by color management system (CMS) vendors.
Figure 5-2
shows the bit assignments for the
deviceAttributes
field.
Figure 5-2 The deviceAttributes field of the CM2Header structure
The following enumeration defines masks your application can use to set or test bits in deviceAttributes[1] .
enum {
/* if bit 0 is 0 then reflective media, if 1 then transparent media */
cmReflectiveTransparentMask = 0x00000001,
/* if bit 1 is 0 then glossy media, if 1 then matte media*/
cmGlossyMatteMask = 0x00000002
};