InterpolationMode enumeration

InterpolationMode enumeration

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

The InterpolationMode type exposes the following members:

Fields

FieldDescription
INVALIDEquivalent to the Invalid element of the QualityMode enumeration.
DEFAULTSpecifies default mode.
LOWSpecifies low quality interpolation.
HIGHSpecifies high quality interpolation.
BILINEARSpecifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.
BICUBICSpecifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.
NEAREST_NEIGHBORSpecifies nearest-neighbor interpolation.
HIGH_QUALITY_BILINEARSpecifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.
HIGH_QUALITY_BICUBICSpecifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

See Also