InterpolationMode Enumeration

 

The InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum class InterpolationMode

Member nameDescription
Bicubic

Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.

Bilinear

Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.

Default

Specifies default mode.

High

Specifies high quality interpolation.

HighQualityBicubic

Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

HighQualityBilinear

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

Invalid

Equivalent to the Invalid element of the QualityMode enumeration.

Low

Specifies low quality interpolation.

NearestNeighbor

Specifies nearest-neighbor interpolation.

.NET Framework
Available since 1.1
Return to top
Show: