---
title: ColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary
framework: colorsync
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: colorsync/colorsyncprofilecopyheadroomadaptivegaincurveinfodictionary
---

# ColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary

Returns a dictionary describing the Headroom Adaptive Gain Curve decoded from a profile.

## Declaration

```occ
extern CFDictionaryRefColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary(ColorSyncProfileRef profile);
```

## Parameters

- `profile`: The profile to decode the HAGC tag from.

## Return Value

Return Value A dictionary describing the gain curve, which the caller must release with CFRelease, or NULL if the profile carries no HAGC tag. See the key constants declared below for the dictionary’s contents.

## See Also

### Reading a curve (C API)

- [ColorSyncProfileCopyHeadroomAdaptiveGainCurveMetadata](colorsync/colorsyncprofilecopyheadroomadaptivegaincurvemetadata.md)
