com.aspose.diagram
Class InterpolationMode

java.lang.Object
    extended by com.aspose.diagram.InterpolationMode

public class InterpolationMode 
extends java.lang.Object

Utility class containing constants. The InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.


Field Summary
static final intINVALID
           Equivalent to the Invalid element of the QualityMode enumeration.
static final intDEFAULT
           Specifies default mode.
static final intLOW
           Specifies low quality interpolation.
static final intHIGH
           Specifies high quality interpolation.
static final intBILINEAR
           Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size.
static final intBICUBIC
           Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size.
static final intNEAREST_NEIGHBOR
           Specifies nearest-neighbor interpolation.
static final intHIGH_QUALITY_BILINEAR
           Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.
static final intHIGH_QUALITY_BICUBIC
           Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.
 

Field Detail

INVALID

public static final int INVALID
Equivalent to the Invalid element of the QualityMode enumeration.

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.

NEAREST_NEIGHBOR

public static final int NEAREST_NEIGHBOR
Specifies nearest-neighbor interpolation.

HIGH_QUALITY_BILINEAR

public static final int HIGH_QUALITY_BILINEAR
Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking.

HIGH_QUALITY_BICUBIC

public static final int HIGH_QUALITY_BICUBIC
Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.