Function

CGColorSpaceGetModel

Returns the color space model of the provided color space.

Declaration

CGColorSpaceModel CGColorSpaceGetModel(CGColorSpaceRef space);

Parameters

space

A color space object.

Return Value

One of the constants described in CGColorSpaceModel.

See Also

Getting Information About Color Spaces

CGColorSpaceCopyICCProfile

Returns a copy of the ICC profile of the provided color space.

Deprecated
CGColorSpaceCopyICCData

Returns a copy of the ICC profile data of the provided color space.

CGColorSpaceSupportsOutput

Returns a Boolean indicating whether the color space can be used as a destination color space.

CGColorSpaceGetNumberOfComponents

Returns the number of color components in a color space.

CGColorSpaceGetTypeID

Returns the Core Foundation type identifier for Quartz color spaces.

CGColorSpaceIsWideGamutRGB

Returns whether the RGB color space covers a significant portion of the NTSC color gamut.

CGColorSpaceGetBaseColorSpace

Returns the base color space of a pattern or indexed color space.

CGColorSpaceGetColorTableCount

Returns the number of entries in the color table of an indexed color space.

CGColorSpaceGetColorTable

Copies the entries in the color table of an indexed color space.

CGColorSpaceCopyName

Returns the name used to create the specified color space.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software