<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.3.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/kvImageHighQualityResampling",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@Ea@kvImageNoFlags@kvImageHighQualityResampling"
  },
  "title" : "kvImageHighQualityResampling"
}
-->

# kvImageHighQualityResampling

A flag that uses a higher-quality, slower resampling filter for geometry operations.

```
var kvImageHighQualityResampling: Int { get }
```

## Discussion

vImage uses Lanczos interpolation for resampling.

Lanczos interpolation provides excellent results for geometric operations on images, preserves details, and reduces aliasing artifacts compared to other resampling techniques.

By default, vImage uses the Lanczos-3 algorithm for resampling. Set this flag to switch to the higher-quality Lanczos-5 algorithm.

---

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)