---
title: "ColorSyncProfileCreateLink(_:_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 13.0+, macOS 10.13+, tvOS 16.0+, visionOS 1.0+, watchOS 9.0+]
path: "colorsync/colorsyncprofilecreatelink(_:_:)"
---

# ColorSyncProfileCreateLink(_:_:)

Creates a device link profile from an array of profiles.

## Declaration

```swift
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

Return Value A new profile, or NULL in case of failure.

## Discussion

Discussion Each dictionary in profileInfo contains a profile object and information on the usage of the profile in the transform. Required keys: kColorSyncProfile: A ColorSyncProfile. kColorSyncRenderingIntent: A CFStringRef defining the rendering intent. kColorSyncTransformTag: A CFStringRef defining which tags to use. Optional key: kColorSyncBlackPointCompensation: A CFBooleanRef to enable or disable black point compensation.

## See Also

### Proofing and gamut checking

- [kColorSyncTransformDeviceToDevice](colorsync/kcolorsynctransformdevicetodevice.md)
- [kColorSyncTransformGamutCheck](colorsync/kcolorsynctransformgamutcheck.md)
