CGColorSpaceCreateDeviceCMYK()
Creates a device-dependent CMYK color space.
Declaration
func CGColorSpaceCreateDeviceCMYK() -> CGColorSpaceReturn Value
A device-dependent CMYK color space, or NULL if unsuccessful. In Objective-C, you’re responsible for releasing this object by calling CGColorSpaceRelease.
Discussion
Colors in a device-dependent color space are not transformed or otherwise modified when displayed on an output device—that is, there is no attempt to maintain the visual appearance of a color. As a consequence, colors in a device color space often appear different when displayed on different output devices. For this reason, device color spaces are not recommended when color preservation is important.
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()CGColorSpaceCreateDeviceGray()init(iccProfileData:)