InterpolationMode
Inheritance: java.lang.Object, java.lang.Enum
public enum InterpolationMode extends Enum<InterpolationMode>
Specifies the algorithm that is used when images are scaled or rotated.
Fields
Field | Description |
---|---|
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. |
Methods
Method | Description |
---|---|
values() | |
valueOf(String name) |
Default
public static final InterpolationMode Default
Specifies default mode.
Low
public static final InterpolationMode Low
Specifies low quality interpolation.
High
public static final InterpolationMode High
Specifies high quality interpolation.
Bilinear
public static final InterpolationMode 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 InterpolationMode 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 InterpolationMode NearestNeighbor
Specifies nearest-neighbor interpolation.
HighQualityBilinear
public static final InterpolationMode HighQualityBilinear
Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.
HighQualityBicubic
public static final InterpolationMode HighQualityBicubic
Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.
values()
public static InterpolationMode[] values()
Returns: com.aspose.tex.rendering.InterpolationMode[]
valueOf(String name)
public static InterpolationMode valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: InterpolationMode