<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSGraphicsContext/imageInterpolation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSGraphicsContext(py)imageInterpolation"
  },
  "title" : "imageInterpolation"
}
-->

# imageInterpolation

A constant that specifies the graphics context’s interpolation, or image smoothing, behavior.

```
var imageInterpolation: NSImageInterpolation { get set }
```

## Discussion

Note that this value is not part of the graphics state, so it cannot be reset using [`restoreGraphicsState()`](/documentation/AppKit/NSGraphicsContext/restoreGraphicsState()-swift.method).

---

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)