An object that describes how to convert between color spaces for use by other system services.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Core Graphics
Declaration
typedef struct CGColorConversionInfo CGColorConversionInfoRef;
Overview
A CGColor
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 MPSImage
filter, which can then perform GPU-accelerated image conversion.