---
title: shouldInterpolate
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgimage/shouldinterpolate
---

# shouldInterpolate

Returns the interpolation setting for a bitmap image.

## Declaration

```swift
var shouldInterpolate: Bool { get }
```

## Discussion

Discussion The interpolation setting specifies whether an edge-smoothing algorithm is applied to the associated image.

## 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)
- [renderingIntent](coregraphics/cgimage/renderingintent.md)
- [bitmapInfo](coregraphics/cgimage/bitmapinfo.md)
- [CGBitmapInfo](coregraphics/cgbitmapinfo.md)
- [utType](coregraphics/cgimage/uttype.md)
