kvImageHighQualityResampling
A flag that uses a higher-quality, slower resampling filter for geometry operations.
Declaration
var kvImageHighQualityResampling: Int { get }Mentioned in
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.