Table of Contents

Enum BitmapInterpolationMode2

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

This enum provides additional resampling options.

public enum BitmapInterpolationMode2

Fields

NearestNeighbor = 0
Linear = 1
Cubic = 2
Fant = 3
HighQualityCubic = 4

A high-quality cubic resampling algorithm. This is also called "Catmull-Rom" (b=0, c=1/2).

HighQualityLinear = 5

A bilinear interpolation algorithm. This produces significantly higher quality results than Linear.

Lanczos3 = 6

A Lanczos resampling algorithm with 3 lobes.

CubicSmooth = 7

A smooth cubic resampling algorithm that produces no ringing artifacts. This is also called "Hermite" (b=0, c=0).

HighQualityAdaptiveSharp = 8

Uses an adaptive high-quality algorithm based on the size of the input and output image, with a preference for sharper results.