Type Property

outputColorSpace

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

Declaration

static let outputColorSpace: CIContextOption

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 CGColorSpace object. (See Quartz 2D Programming Guide for information on creating and using CGColorSpace 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).