Creates an RGB color space based on primitives typically found in Y'CbCr specifications.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A set of x, y tristimulus values that define the color primaries for the RGB colorspace.
The transfer function to convert from linear RGB (using above primaries) to non-linear RGB.
A rendering intent constant that specifies how to handle colors not located within the gamut of the destination color space.
The options to use when performing the operation. This function only supports
kv, which prints diagnostic information to the console in the event of a failure.
Image Diagnostics To Console
A pointer to a
v; the pointer is overwritten to indicate the success or failure of the operation.
CGColor with a reference count of one.
You use this function to create a
CGColor instance to correspond with a given set of color primaries and a transfer function. The
CGColor instance defines an RGB color space. (A Y'CbCr color space is defined as an RGB color space and a conversion matrix from RGB to Y'CbCr.) The color primaries give the extent of a color space in x, y, z space, and the transfer function gives the transformation from linear color to nonlinear color that the pixels reside in.