Enum BitmapInterpolationMode2
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
This enum provides additional resampling options.
public enum BitmapInterpolationMode2
Fields
NearestNeighbor = 0Linear = 1Cubic = 2Fant = 3HighQualityCubic = 4A high-quality cubic resampling algorithm. This is also called "Catmull-Rom" (b=0, c=1/2).
HighQualityLinear = 5A bilinear interpolation algorithm. This produces significantly higher quality results than Linear.
Lanczos3 = 6A Lanczos resampling algorithm with 3 lobes.
CubicSmooth = 7A smooth cubic resampling algorithm that produces no ringing artifacts. This is also called "Hermite" (b=0, c=0).
HighQualityAdaptiveSharp = 8Uses an adaptive high-quality algorithm based on the size of the input and output image, with a preference for sharper results.