ICM Functions for Color Management Modules (CMMs) to Implement

[This is preliminary documentation and subject to change.]

The following functions are to be implemented by color management modules (CMMs), and exported for the operating system to call.

Function Description
CMCheckColors Checks colors against an output gamut.
CMCheckColorsInGamut Checks RGB triplets against an output gamut.
CMCheckRGBs Checks bitmap colors against an output gamut.
CMConvertColorNameToIndex Converts color names in a named color space to index numbers in a color profile.
CMConvertIndexToColorName Converts indices in a color space to an array of names in a named color space.
CMCreateDeviceLinkProfile Creates an ICC device link profile.
CMCreateMultiProfileTransform Creates a transform from an array of profiles.
CMCreateProfile Creates an ICC profile from a LOGCOLORSPACE structure (ANSI).
CMCreateProfileW Creates an ICC profile from a LOGCOLORSPACE structure (Unicode).
CMCreateTransform Creates a color transform (ANSI).
CMCreateTransformExt Creates an extended color transform (ANSI).
CMCreateTransformExtW Creates an extended color transform (Unicode).
CMCreateTransformW Creates a color transform (Unicode).
CMDeleteTransform Deletes a color transform.
CMGetInfo Returns information about a given CMM.
CMGetNamedProfileInfo Retrieves information about a named color profile.
CMGetPS2ColorRenderingDictionary Gets a PostScript color rendering dictionary.
CMGetPS2ColorRenderingIntent Gets a PostScript color rendering intent.
CMGetPS2ColorSpaceArray Gets a PostScript color space array.
CMIsProfileValid Checks that a profile is a valid ICC profile.
CMTranslateColors Translates colors using a color transform.
CMTranslateRGB Translates an RGB color using a color transform.
CMTranslateRGBs Translates bitmap colors using a color transform.
CMTranslateRGBsExt Translates bitmap colors with callback progress reporting.