ResizeFilter
public enum ResizeFilter : String
The resize-filter
parameter allows you to use the r
esizing filter to increase or decrease the number of pixels in a given image.
See Resize-filter
-
Default to none allow not to set Resize-filter
Declaration
Swift
case none
-
Utilizes the values of the neighboring translated pixels to provide smoother and quick resizing of a given image.
Declaration
Swift
case nearest
-
Utilizes a 2x2 environment of pixels on an average. This filter blends new interpolated pixels with the original image pixels to generate a larger image with more detail.
Declaration
Swift
case bilinare
-
Utilizes a 4x4 environment of pixels on average. This filter maintains the innermost pixels and discards all the extra details from a given image.
Declaration
Swift
case bicubic
-
Enhances the ability to identify linear features and object edges of a given image. This filter uses the sinc resampling function to reconstruct the pixelation of an image and improve its quality.
Declaration
Swift
case lanczos2
-
Utilizes a better approximation of the sinc resampling function to generate an image with better reconstruction.
Declaration
Swift
case lanczos3