COLORPROFILESUBTYPE

Specifies the subtype of the color profile.

typedef enum
{
  CPST_NONE = 0x0000,
  CPST_RGB_WORKING_SPACE = 0x0001,
  CPST_PERCEPTUAL = 0x0002,
  CPST_ABSOLUTE_COLORIMETRIC = 0x0004,
  CPST_RELATIVE_COLORIMETRIC = 0x0008,
  CPST_SATURATION = 0x0010,
  CPST_CUSTOM_WORKING_SPACE = 0x0020,
} COLORPROFILSUBTYPE;
typedef COLORPROFILESUBTYPE *PCOLORPROFILESUBTYPE, *LPCOLORPROFILESUBTYPE;

Elements

  • CPST_NONE
    The color profile subtype is not applicable to the selected color profile type.
  • CPST_RGB_WORKING_SPACE
    The RGB color working space for International Color Consortium (ICC) profiles or device model profiles (DMPs) defined in WCS.
  • CPST_PERCEPTUAL
    A perceptual rendering intent for gamut map model profiles (GMMPs) defined in WCS.
  • CPST_ABSOLUTE_COLORIMETRIC
    An absolute colorimetric rendering intent for GMMPs defined in WCS.
  • CPST_RELATIVE_COLORIMETRIC
    A relative colorimetric rendering intent for GMMPs defined in WCS.
  • CPST_SATURATION
    A saturation rendering intent for GMMPs defined in WCS.
  • CPST_CUSTOM_WORKING_SPACE
    A custom color working space.

Remarks

For a description of rendering intents, see Rendering Intents.

The PCOLORPROFILESUBTYPE and LPCOLORPROFILESUBTYPE data types are defined as pointers to the COLORPROFILESUBTYPE enumeration:

typedef COLORPROFILESUBTYPE *PCOLORPROFILESUBTYPE, *LPCOLORPROFILESUBTYPE;

The valid profile type/subtype combinations are

COLORPROFILETYPE

Valid COLORPROFILESUBTYPE

Notes

default for a device

global default

 

Intended Usage

 

Intended Usage

CPT_ICC

 

CPST_NONE

Get/Set default ICC profile associated with a device

CPST_RGBWorkingSpace or CPST_CustomWorkingSpace

Get/Set ICC profile as global RGB or custom working space

 

CPT_DMP

CPST_NONE

Get/Set default DMP profile associated with a device

CPST_RGBWorkingSpace or CPST_CustomWorkingSpace

Get/Set DMP as global RGB or custom working space

 

CPT_CAMP

CPST_NONE

Get/Set default CAMP profile associated with a device

CPST_NONE

Get/Set CAMP profile as global color appearance profile

 

CPT_GMMP

CPST_NONE

Get/Set default GMMP profile associated with a device

CPST_Perceptual or

CPST_Absolute_colorimetric or

CPST_Relative_colorimetric or

CPTS_Saturation

Get/Set GMMP as global gamut map model profile for a specific rendering intent as described by that subtype to be used in CreateMultiProfileTransform API when resolving the rendering intent array in WCS transform.

COLORPROFILESUBTYPE Global default can be or’d with WCS_DEFAULT to set this GMMP as the global default for use in OpenColorProfile or WcsOpenColorProfile where GMMP is NULL.

 

Requirements

**  Windows Vista:** Included in Windows Vista and later.
**  Header:** Declared in Icm.h.
**  Library:** Use Mscms.lib.
**  Unicode:** Implemented as Unicode and ANSI versions on Windows Vista.

See Also

COLORPROFILETYPE, WcsSetDefaultColorProfile