Packages

 

com.aspose.imaging.fileformats.emf.emfplus.consts

Class EmfPlusInterpolationMode

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.emf.emfplus.consts.EmfPlusInterpolationMode


  • public final class EmfPlusInterpolationMode
    extends com.aspose.ms.System.Enum

    The InterpolationMode enumeration defines ways to perform scaling, including stretching and shrinking.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static byte InterpolationModeBicubic
      Specifies bicubic interpolation, which uses the closest 4x4 neighborhood of known pixels surrounding the interpolated pixel.
      static byte InterpolationModeBilinear
      Specifies bilinear interpolation, which uses the closest 2x2 neighborhood of known pixels surrounding the interpolated pixel.
      static byte InterpolationModeDefault
      Specifies the default interpolation mode, which is defined as InterpolationModeBilinear.
      static byte InterpolationModeHighQuality
      Specifies a high-quality interpolation mode, which is defined as InterpolationModeHighQualityBicubic.
      static byte InterpolationModeHighQualityBicubic
      Specifies bicubic interpolation with prefiltering, which produces the highest-quality result among these options.
      static byte InterpolationModeHighQualityBilinear
      Specifies bilinear interpolation with prefiltering.
      static byte InterpolationModeLowQuality
      Specifies a low-quality interpolation mode, which is defined as InterpolationModeNearestNeighbor.
      static byte InterpolationModeNearestNeighbor
      Specifies nearest-neighbor interpolation, which uses only the value of the pixel that is closest to the interpolated pixel.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • InterpolationModeDefault

        public static final byte InterpolationModeDefault

        Specifies the default interpolation mode, which is defined as InterpolationModeBilinear.

        See Also:
        Constant Field Values
      • InterpolationModeLowQuality

        public static final byte InterpolationModeLowQuality

        Specifies a low-quality interpolation mode, which is defined as InterpolationModeNearestNeighbor.

        See Also:
        Constant Field Values
      • InterpolationModeHighQuality

        public static final byte InterpolationModeHighQuality

        Specifies a high-quality interpolation mode, which is defined as InterpolationModeHighQualityBicubic.

        See Also:
        Constant Field Values
      • InterpolationModeBilinear

        public static final byte InterpolationModeBilinear

        Specifies bilinear interpolation, which uses the closest 2x2 neighborhood of known pixels surrounding the interpolated pixel. The weighted average of these 4 known pixel values determines the value to assign to the interpolated pixel. The result is smoother looking than InterpolationModeNearestNeighbor.

        See Also:
        Constant Field Values
      • InterpolationModeBicubic

        public static final byte InterpolationModeBicubic

        Specifies bicubic interpolation, which uses the closest 4x4 neighborhood of known pixels surrounding the interpolated pixel. The weighted average of these 16 known pixel values determines the value to assign to the interpolated pixel. Because the known pixels are likely to be at varying distances from the interpolated pixel, closer pixels are given a higher weight in the calculation. The result is smoother looking than InterpolationModeBilinear.

        See Also:
        Constant Field Values
      • InterpolationModeNearestNeighbor

        public static final byte InterpolationModeNearestNeighbor

        Specifies nearest-neighbor interpolation, which uses only the value of the pixel that is closest to the interpolated pixel. This mode simply duplicates or removes pixels, producing the lowest-quality result among these options.

        See Also:
        Constant Field Values
      • InterpolationModeHighQualityBilinear

        public static final byte InterpolationModeHighQualityBilinear

        Specifies bilinear interpolation with prefiltering.

        See Also:
        Constant Field Values
      • InterpolationModeHighQualityBicubic

        public static final byte InterpolationModeHighQualityBicubic

        Specifies bicubic interpolation with prefiltering, which produces the highest-quality result among these options.

        See Also:
        Constant Field Values