com.aspose.barcode

Class ImageQualityMode



  • public final class ImageQualityMode
    extends Object

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

    • 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 String getImageQualityModeName(int imageQuality)
        Gets ImageQualityMode value name
        Parameters:
        imageQuality - ImageQualityMode value
        Returns:
        ImageQualityMode value name
      • getImageQualityModeValue

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