init(iccProfileData:)
Creates an ICC-based color space using the ICC profile contained in the specified data.
Declaration
init?(iccProfileData data: CFData)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 Color Spaces
init(calibratedGrayWhitePoint:blackPoint:gamma:)init(calibratedRGBWhitePoint:blackPoint:gamma:matrix:)init(iccBasedNComponents:range:profile:alternate:)init(indexedBaseSpace:last:colorTable:)init(labWhitePoint:blackPoint:range:)init(patternBaseSpace:)init(name:)init(platformColorSpaceRef:)init(iccData:)init(propertyListPlist:)CGColorSpaceCreateDeviceRGB()CGColorSpaceCreateDeviceCMYK()CGColorSpaceCreateDeviceGray()