<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ColorSync",
  "identifier" : "/documentation/ColorSync/ColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "c:@F@ColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary"
  },
  "title" : "ColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary"
}
-->

# ColorSyncProfileCopyHeadroomAdaptiveGainCurveInfoDictionary

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

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

## Parameters

`profile`

The profile to decode the HAGC tag from.

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)