<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Image/interpolation(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ImageV13interpolationyA2C13InterpolationOF"
  },
  "title" : "interpolation(_:)"
}
-->

# interpolation(_:)

Specifies the current level of quality for rendering an
image that requires interpolation.

```
func interpolation(_ interpolation: Image.Interpolation) -> Image
```

## Parameters

`interpolation`

The quality level, expressed as a value of
the `Interpolation` type, that SwiftUI applies when interpolating
an image.

## Return Value

An image with the given interpolation value set.

## Discussion

See the article [Fitting images into available space](/documentation/SwiftUI/Fitting-Images-into-Available-Space) for examples
of using `interpolation(_:)` when scaling an [`Image`](/documentation/SwiftUI/Image).

---

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)