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

FieldDescription
DefaultSpecifies default mode.
LowSpecifies low quality interpolation.
HighSpecifies high quality interpolation.
BilinearSpecifies bilinear interpolation.
BicubicSpecifies bicubic interpolation.
NearestNeighborSpecifies nearest-neighbor interpolation.
HighQualityBilinearSpecifies high-quality, bilinear interpolation.
HighQualityBicubicSpecifies high-quality, bicubic interpolation.

Methods

MethodDescription
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:

ParameterTypeDescription
namejava.lang.String

Returns: InterpolationMode