InterpolationMode Enumeration

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

Module: aspose.imaging

Full Name: aspose.imaging.InterpolationMode

Members

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