Global Variable

kCIContextOutputColorSpace

A key for the color space to use for images before they are rendered to the context.

Declaration

const CIContextOption kCIContextOutputColorSpace;

Discussion

By default, Core Image uses the GenericRGB color space, which leaves color matching to the system. You can specify a different output color space by providing a Quartz 2D CGColorSpaceRef object. (See Quartz 2D Programming Guide for information on creating and using CGColorSpaceRef objects.)

To request that Core Image perform no color management, specify the NSNull object as the value for this key. Use this option for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables).