Important: The information in this document is obsolete and should not be used for new development.
Optional ColorSync Manager Request Codes
The Component Manager may also call your CMM with the following ColorSync Manager request codes that are considered optional. A CMM may support these requests, although you are not required to do so.
kCMMMatchPixMap
(3
)
Requests that you match the colors of a pixel map image to the color gamut of a destination profile, replacing the original pixel colors with their corresponding colors. For more information, see "Matching the Colors of a Pixel Map Image" (page 5-29).kCMMCheckPixMap
(4
)
Requests that you check the colors of a pixel map image against the gamut of a destination device for inclusion and report the results. For more information, see "Checking the Colors of a Pixel Map Image" (page 5-30).kCMMConcatenateProfiles
(5
)
This request code is for backward compatibility with ColorSync 1.0.kCMMConcatInit
(7
)
Requests that you initialize any private data your CMM will need for a color session involving the set of profiles specified by the profile array pointed to by theprofileSet
parameter. For more information, see "Initializing the Component Instance for a Session Using Concatenated Profiles" (page 5-31).kCMMValidateProfile
(8
)
Requests that you test a specific profile to determine if the profile contains the minimum set of elements required for a profile of its type. For more information, see "Validating That a Profile Meets the Base Content Requirements" (page 5-26).kCMMMatchBitma
p (9
)
Requests that you match the colors of a source image bitmap to the color gamut of a destination profile. For more information, see "Matching the Colors of a Bitmap" (page 5-27).kCMMCheckBitmap
(10
)
Requests that you check the colors of a source image bitmap against the color gamut of a destination profile. For more information, see "Checking the Colors of a Bitmap" (page 5-28).kCMMGetPS2ColorSpace
(11
)
Requests that you obtain or derive the color space data from a source profile and pass the data to a low-level data-transfer function supplied by the calling application or device driver. For more information, see "Obtaining PostScript-Related Data From a Profile" (page 5-33).kCMMGetPS2ColorRenderingIntent
(12
)
Requests that you obtain the color-rendering intent from the header of a source profile and then pass the data to a low-level data-transfer function supplied by the calling application or device driver. For more information, see "Obtaining PostScript-Related Data From a Profile" (page 5-33).kCMMGetPS2ColorRendering
(13
)
Requests that you obtain the rendering intent from the source profile's header, generate the color rendering dictionary (CRD) data from the destination profile, and then pass the data to a low-level data-transfer function supplied by the calling application or device driver. For more information, see "Obtaining PostScript-Related Data From a Profile" (page 5-33).kCMMFlattenProfile
(14
)
Requests that you extract profile data from the profile to be flattened and pass the profile data to a function supplied by the calling program. For more information, see "Flattening a Profile for Embedding in a Graphics File" (page 5-35).kCMMUnflattenProfile
(15
)
Requests that you create a file in the temporary items folder in which to store profile data you receive from a function. The calling program supplies the function. You call this function to obtain the profile data. For more information, see "Unflattening a Profile" (page 5-36).kCMMNewLinkProfile
(16
)
Requests that you create a single device-linked profile that includes the profiles passed to you in an array. For more information, see "Creating a Device-Linked Profile and Opening a Reference to It" (page 5-32).kCMMGetPS2ColorRenderingVMSize
(17
)
Requests that you obtain or assess the maximum virtual memory (VM) size of the color rendering dictionary (CRD) specified by a destination profile. For more information, see "Obtaining the Size of the Color Rendering Dictionary for PostScript Printers" (page 5-34).kCMMGetNamedColorInfo (70)
Requests that you extract and return named color data from the passed profile reference.kCMMGetNamedColorValue (71)
Requests that you extract and return device and profile connection space (PCS) color values for the specified color name from the passed profile reference.kCMMGetIndNamedColorValue (72)
Requests that you extract and return device and PCS color values for the specified named color index from the passed profile reference.kCMMGetNamedColorIndex (73)
Requests that you extract and return a named color index for the specified color name from the passed profile reference.kCMMGetNamedColorName (74)
Requests that you extract and return a named color name for the specified named color index from the passed profile reference.