InterpolationMode
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class InterpolationMode extends System.Enum
The com.aspose.imaging.InterpolationMode
enumeration specifies the algorithm that is used when images are scaled or rotated.
Fields
Field | Description |
---|---|
Invalid | Invalid interpolation mode. |
Default | Specifies default mode. |
Low | Specifies low quality interpolation. |
High | Specifies high quality interpolation. |
Bilinear | Specifies bilinear interpolation. |
Bicubic | Specifies bicubic interpolation. |
NearestNeighbor | Specifies nearest-neighbor interpolation. |
HighQualityBilinear | Specifies high-quality, bilinear interpolation. |
HighQualityBicubic | Specifies high-quality, bicubic interpolation. |
Invalid
public static final int Invalid
Invalid interpolation mode.
Default
public static final int Default
Specifies default mode.
Low
public static final int Low
Specifies low quality interpolation.
High
public static final int High
Specifies high quality interpolation.
Bilinear
public static final int Bilinear
Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.
Bicubic
public static final int Bicubic
Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.
NearestNeighbor
public static final int NearestNeighbor
Specifies nearest-neighbor interpolation.
HighQualityBilinear
public static final int HighQualityBilinear
Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.
HighQualityBicubic
public static final int HighQualityBicubic
Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.