ColorSyncProfileCreateLink(_:_:)
Creates a device link profile from an array of profiles.
Declaration
func ColorSyncProfileCreateLink(_ profileInfo: CFArray!, _ options: CFDictionary?) -> Unmanaged<ColorSyncProfile>?Parameters
- profileInfo:
An array of dictionaries, each 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 profile, or NULL in case of failure.
Discussion
Each dictionary in profileInfo 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.