<!--
{
  "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/ColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "c:@F@ColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary"
  },
  "title" : "ColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary"
}
-->

# ColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary

Returns a copy of a profile with an HAGC tag synthesized from an info dictionary.

```
extern ColorSyncProfileRefColorSyncProfileCreateCopyWithHeadroomAdaptiveGainCurveInfoDictionary(ColorSyncProfileRef profile, CFDictionaryRef info);
```

## Parameters

`profile`

A profile whose CICP tag indicates a PQ, HLG, or linear transfer
function. (Use linear for extended-range data.) Passing an SDR profile
returns `NULL`.

`info`

A dictionary describing the gain curve. See the key constants
declared below for its structure.

## Return Value

A new profile that the caller must release with `CFRelease`, or
`NULL` on failure.

---

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)