Function

CGColorSpaceCreateWithICCProfile

Creates an ICC-based color space using the ICC profile contained in the specified data.

Declaration

CGColorSpaceRef CGColorSpaceCreateWithICCProfile(CFDataRef data);

Parameters

data

The data containing the ICC profile to set for the new color space.

Return Value

A new color space based on the specified profile.

See Also

Creating Device-Independent Color Spaces

CGColorSpaceCreateCalibratedGray

Creates a calibrated grayscale color space.

CGColorSpaceCreateCalibratedRGB

Creates a calibrated RGB color space.

CGColorSpaceCreateICCBased

Creates a device-independent color space that is defined according to the ICC color profile specification.

CGColorSpaceCreateLab

Creates a device-independent color space that is relative to human color perception, according to the CIE L*a*b* standard.