Class

CGColorConversionInfo

An object that describes how to convert between color spaces for use by other system services.

Overview

A CGColorConversionInfo object specifies a conversion between two or more color spaces, including information about the intent of the conversion. You use color conversion objects to specify the work to be done by an MPSImageConversion filter, which can then perform GPU-accelerated image conversion.

Topics

Creating a Color Conversion

init?(src: CGColorSpace, dst: CGColorSpace)

Creates a conversion between two specified color spaces.

enum CGColorConversionInfoTransformType

Constants describing how a color conversion uses color spaces.

Working with Core Foundation Types

class var typeID: CFTypeID

Returns the Core Foundation type identifier for a color conversion info data type.

See Also

Colors and Fonts

class CGColor

A set of components that define a color, with a color space specifying how to interpret them.

class CGColorSpace

A profile that specifies how to interpret a color value for display.

class CGFont

A set of character glyphs and layout information for drawing text.