Creates a resampling filter object that corresponds to the default kernel supplied by the vImage framework.
- iOS 5.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A scale factor to associated with the resampling filter object. Shear functions to which you pass the resampling filter object use this factor when performing a shear operation. The shear function applies the scale factor to the entire image, in a direction appropriate to the shear function, either horizontal or vertical.
The options to use when creating the resampling filter object. You must set exactly one of the following flags to specify how vImage handles pixel locations beyond the edge of the source image:
Image Background Color Fill
Image Edge Extend
kvflag if you want vImage to use a higher quality, but slower, resampling filter.
Image High Quality Resampling
kvflag if you plan to perform your own tiling or use multithreading.
Image Do Not Tile
This function ignores the
Image Leave Alpha Unchanged
A pointer to a newly created resampling filter object; otherwise
This function creates a reusable resampling filter object that you can pass to a shear function. The resampling filter encapsulated by the object is the default kernel for vImage This function allocates the memory needed for the resampling filter object. To deallocate this memory, call the function
v. Do not attempt to deallocate the memory yourself.