com.aspose.xps.rendering

Enum InterpolationMode

    • Enum Constant Detail

      • 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.

    • Method Detail

      • values

        public static InterpolationMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InterpolationMode c : InterpolationMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InterpolationMode valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null