Global Variable

kCGColorSpaceExtendedGray

The extended gray color space.

Declaration

const CFStringRef kCGColorSpaceExtendedGray;

Discussion

This color space has the same colorimetry as kCGColorSpaceGenericGrayGamma2_2; in addition, you may encode component values below 0.0 and above 1.0. Negative values are encoded as the signed reflection of the original encoding function, as shown below

extendedGrayTransferFunction(x) = sign(x) ✖️ gamma22Function(abs(x))

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