BitmapInterpolationMode BitmapInterpolationMode BitmapInterpolationMode Enum
Specifies the interpolation mode used for scaling pixel data.
public : enum class BitmapInterpolationMode
public enum BitmapInterpolationMode
Public Enum BitmapInterpolationMode
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
In general, moving from NearestNeighbor to Fant, interpolation quality increases while performance decreases.
|Cubic Cubic Cubic||
A bicubic interpolation algorithm. Destination pixel values are computed as a weighted average of the nearest sixteen pixels in a 4x4 grid.
|Fant Fant Fant||
A Fant resampling algorithm. Destination pixel values are computed as a weighted average of the all the pixels that map to the new pixel in a box shaped kernel.
|Linear Linear Linear||
A bilinear interpolation algorithm. The output pixel values are computed as a weighted average of the nearest four pixels in a 2x2 grid.
|NearestNeighbor NearestNeighbor NearestNeighbor||
A nearest neighbor interpolation algorithm. Also known as nearest pixel or point interpolation. The output pixel is assigned the value of the pixel that the point falls within. No other pixels are considered.