---
title: renderingIntent
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgimage/renderingintent
---

# renderingIntent

Returns the rendering intent setting for a bitmap image.

## Declaration

```swift
var renderingIntent: CGColorRenderingIntent { get }
```

## Discussion

Discussion Provides the CGColorRenderingIntent constant that specifies how to handle colors that are not located within the gamut of the destination color space of a graphics context in which the image is drawn. If the image is an image mask, this function returns CGColorRenderingIntent.defaultIntent.

## See Also

### Examining an image

- [isMask](coregraphics/cgimage/ismask.md)
- [width](coregraphics/cgimage/width.md)
- [height](coregraphics/cgimage/height.md)
- [bitsPerComponent](coregraphics/cgimage/bitspercomponent.md)
- [bitsPerPixel](coregraphics/cgimage/bitsperpixel.md)
- [bytesPerRow](coregraphics/cgimage/bytesperrow.md)
- [colorSpace](coregraphics/cgimage/colorspace.md)
- [alphaInfo](coregraphics/cgimage/alphainfo.md)
- [CGImageAlphaInfo](coregraphics/cgimagealphainfo.md)
- [dataProvider](coregraphics/cgimage/dataprovider.md)
- [decode](coregraphics/cgimage/decode.md)
- [shouldInterpolate](coregraphics/cgimage/shouldinterpolate.md)
- [bitmapInfo](coregraphics/cgimage/bitmapinfo.md)
- [CGBitmapInfo](coregraphics/cgbitmapinfo.md)
- [utType](coregraphics/cgimage/uttype.md)
