---
title: "ColorSyncTransformCreate(_:_:)"
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/colorsynctransformcreate(_:_:)"
---

# ColorSyncTransformCreate(_:_:)

Creates a color transform from a sequence of profiles.

## Declaration

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

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

## Discussion

Discussion Each dictionary in profileSequence 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

### Creating and applying a transform

- [ColorSyncTransformConvert(_:_:_:_:_:_:_:_:_:_:_:_:)](colorsync/colorsynctransformconvert(_:_:_:_:_:_:_:_:_:_:_:_:).md)
- [ColorSyncTransformGetProfileSequence(_:)](colorsync/colorsynctransformgetprofilesequence(_:).md)
- [ColorSyncTransformCopyProperty(_:_:_:)](colorsync/colorsynctransformcopyproperty(_:_:_:).md)
- [ColorSyncTransformSetProperty(_:_:_:)](colorsync/colorsynctransformsetproperty(_:_:_:).md)
- [ColorSyncTransformGetTypeID()](colorsync/colorsynctransformgettypeid().md)
