---
title: curvesData
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cicolorcurves/curvesdata
---

# curvesData

Color values that determine the color curves transform.

## Declaration

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

## Discussion

Discussion Create the curves data as an 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.

## See Also

### Instance Properties

- [colorSpace](coreimage/cicolorcurves/colorspace.md)
- [curvesDomain](coreimage/cicolorcurves/curvesdomain.md)
- [inputImage](coreimage/cicolorcurves/inputimage.md)
