Module algorithms

Source

Structs§

BicubicBSpline
A bicubic resizer with params (b=1.0, c=0.0). Tends to produce heavy blurring, not generally useful.
BicubicCatmullRom
A bicubic resizer with params (b=0.0, c=0.5). Fast, general purpose.
BicubicHermite
A bicubic resizer with params (b=0.0, c=0.0). Useful for downscaling.
BicubicMitchell
A bicubic resizer with params (b=1/3, c=1/3). Useful for downscaling.
Bilinear
A bilinear resizer. Tends to produce heavy blurring, not generally useful.
Lanczos3
3-tap Lanczos resizer. Sharp, good for upscaling.
Lanczos4
4-tap Lanczos resizer. Sharp, good for upscaling.
Point
Very fast, simple point resizing. Likely to produce heavy aliasing–i.e. a pixelated effect. Not generally useful.
Spline16
16-tap spline resizer. Good balance between speed, sharpness, and ringing.
Spline36
36-tap spline resizer. High quality, good balance between sharpness and ringing.
Spline64
64-tap spline resizer. High quality, good balance between sharpness and ringing.