com.aspose.barcode

Class ImageQualityMode

  • java.lang.Object
    • com.aspose.barcode.ImageQualityMode


  • public final class ImageQualityMode
    extends java.lang.Object

    Specifies the quality of the created barcode image. Only appliable to Jpeg format, such as save as .jpg files

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int AntiAlias
      Specifeis Anti-aliased image rendering.
      static int Default
      Specifies No anti-aliasing image rendering.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static java.lang.String getImageQualityModeName(int imageQuality)
      Gets ImageQualityMode value name
      static int getImageQualityModeValue(java.lang.String imageQuality)
      Gets ImageQualityMode value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Default

        public static final int Default

        Specifies No anti-aliasing image rendering.

        See Also:
        Constant Field Values
      • AntiAlias

        public static final int AntiAlias

        Specifeis Anti-aliased image rendering. Much better quality due to antialiasing, but at a higher performance cost.

        See Also:
        Constant Field Values
    • Method Detail

      • getImageQualityModeName

        public static java.lang.String getImageQualityModeName(int imageQuality)
        Gets ImageQualityMode value name
        Parameters:
        imageQuality - ImageQualityMode value
        Returns:
        ImageQualityMode value name
      • getImageQualityModeValue

        public static int getImageQualityModeValue(java.lang.String imageQuality)
        Gets ImageQualityMode value
        Parameters:
        imageQuality - ImageQualityMode value name
        Returns:
        ImageQualityMode value