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 name | Description |
---|---|
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. |
HIGH_QUALITY_BICUBIC | Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images. |
HIGH_QUALITY_BILINEAR | Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking. |
INVALID | Invalid interpolation mode. |
LOW | Specifies low quality interpolation. |
NEAREST_NEIGHBOR | Specifies nearest-neighbor interpolation. |