<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIColorCurves/curvesData",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIColorCurves(py)curvesData"
  },
  "title" : "curvesData"
}
-->

# curvesData

Color values that determine the color curves transform.

```
var curvesData: Data { get set }
```

## Discussion

Create the curves data as an <doc://com.apple.documentation/documentation/Foundation/NSData> object containing a sequence of single-precision RGB values. These values represent a lookup table that’s applied to the input image.

Core Image unpremultiplies the image before applying the effect, and premultiplies the result after applying the effect.

---

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)