COLORPROFILETYPE enumeration

The COLORPROFILETYPE enumeration is used to specify the type of color profile.

Syntax


typedef enum  { 
  CPT_ICC   = 0,
  CPT_DMP   = 1,
  CPT_CAMP  = 2,
  CPT_GMMP  = 3
} COLORPROFILETYPE;

Constants

CPT_ICC

Specifies an ICC profile. If this value is specified, only the CPST_RGB_WORKING_SPACE and CPST_CUSTOM_WORKING_SPACE values of COLORPROFILESUBTYPE are valid.

CPT_DMP

Specifies a WCS device model profile (DMP). If this value is specified, only the CPST_RGB_WORKING_SPACE and CPST_CUSTOM_WORKING_SPACE values of COLORPROFILESUBTYPE are valid.

CPT_CAMP

Specifies a WCS color appearance model profile (CAMP). If this value is specified, only the CPST_NONE value of COLORPROFILESUBTYPE is valid.

CPT_GMMP

Specifies a WCS gamut map model profile (GMMP). If this value is specified, only the CPST_PERCEPTUAL, CPST_SATURATION, CPST_RELATIVE_COLORIMETRIC, and CPST_ABSOLUTE_COLORIMETRIC values of COLORPROFILESUBTYPE are valid. Any one of these values may optionally be combined (in a bitwise OR operation) with CPST_DEFAULT.

Remarks

The PCOLORPROFILETYPE and LPCOLORPROFILETYPE data types are defined as pointers to this enumeration:


typedef COLORPROFILETYPE *PCOLORPROFILETYPE, *LPCOLORPROFILETYPE;

Requirements

Version

Included in Windows Vista and later.

Header

Icm.h

See also

COLORPROFILESUBTYPE

 

 

Send comments about this topic to Microsoft

Show: