Contents

Color profiles

Work with the ICC profiles that describe device and working color spaces.

Overview

A ColorSyncProfile wraps an ICC profile, the description of a device or working color space that ColorSync uses to convert color accurately. Create profiles from a name, a file, or raw ICC data, and read a profile’s tags and header. To round trip a profile through raw ICC bytes, use ColorSyncProfileCopyData(_:_:) to get the bytes you embed in an image or file, and ColorSyncProfileCreate(_:_:) to reconstruct a profile from bytes you extract. On macOS, you can also install a profile for the current user in ~/Library/ColorSync/Profiles, or for everyone on the system in /Library/ColorSync/Profiles. To convert color between profiles, build a ColorSyncTransform. To bridge to Core Graphics, pass a profile to CGColorSpaceCreateWithColorSyncProfile(_:_:).

Topics

Profiling objects

Creating a profile

Embedding and extracting profiles

Accessing standard RGB profiles

Accessing generic and special profiles

Reading profile data

Managing tags and the header

Inspecting color characteristics

Finding installed profiles

Installing profiles

Accessing profile properties

Computing profile digests

Tracking changes and cache

See Also

Profile and HDR metadata