com.aspose.imaging
Class InterpolationMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.aspose.imaging.InterpolationMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class InterpolationMode
extends java.lang.Enum

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

See Also:
Serialized Form

Field Summary
static int Bicubic
           Specifies bicubic interpolation.
static int Bilinear
           Specifies bilinear interpolation.
static int Default
           Specifies default mode.
static int High
           Specifies high quality interpolation.
static int HighQualityBicubic
           Specifies high-quality, bicubic interpolation.
static int HighQualityBilinear
           Specifies high-quality, bilinear interpolation.
static int Invalid
           Invalid interpolation mode.
static int Low
           Specifies low quality interpolation.
static int NearestNeighbor
           Specifies nearest-neighbor interpolation.
 
Method Summary
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

Default

public static final int Default

Specifies default mode.

See Also:
Constant Field Values

High

public static final int High

Specifies high quality interpolation.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

HighQualityBilinear

public static final int HighQualityBilinear

Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

See Also:
Constant Field Values

Invalid

public static final int Invalid

Invalid interpolation mode.

See Also:
Constant Field Values

Low

public static final int Low

Specifies low quality interpolation.

See Also:
Constant Field Values

NearestNeighbor

public static final int NearestNeighbor

Specifies nearest-neighbor interpolation.

See Also:
Constant Field Values