---
title: "ColorSyncProfileCreate(_:_:)"
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/colorsyncprofilecreate(_:_:)"
---

# ColorSyncProfileCreate(_:_:)

Creates a profile from ICC profile data.

## Declaration

```swift
func ColorSyncProfileCreate(_ data: CFData!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Unmanaged<ColorSyncProfile>?
```

## Parameters

- `data`: The ICC profile data.
- `error`: On failure, a pointer to an error describing the problem. Optional.

## Return Value

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

## See Also

### Embedding and extracting profiles

- [ColorSyncProfileCopyData(_:_:)](colorsync/colorsyncprofilecopydata(_:_:).md)
