ColorSyncTransformCreate(_:_:)
Creates a color transform from a sequence of profiles.
Declaration
func ColorSyncTransformCreate(_ profileSequence: CFArray?, _ options: CFDictionary?) -> Unmanaged<ColorSyncTransform>?Parameters
- profileSequence:
An array of dictionaries, each one containing a profile object and the information on the usage of the profile in the transform.
- options:
A dictionary with additional public global options (for example, preferred CMM, quality, and so on). It can also contain custom options that are CMM specific.
Return Value
A new ColorSyncTransform, or NULL in case of failure.
Discussion
Each dictionary in profileSequence contains a profile object and information on the usage of the profile in the transform.
Required keys:
kColorSyncRenderingIntent: A
CFStringRefdefining the rendering intent.kColorSyncTransformTag: A
CFStringRefdefining which tags to use.
Optional key:
kColorSyncBlackPointCompensation: A
CFBooleanRefto enable or disable black point compensation.