com.aspose.cad.jasperreports.bmp

Enum BitmapCompression

    • Enum Constant Detail

      • Rle8

        public static final BitmapCompression Rle8

        RLE 8-bit/pixel compression. Can be used only with 8-bit/pixel bitmaps.

      • Rle4

        public static final BitmapCompression Rle4

        RLE 4-bit/pixel compression. Can be used only with 4-bit/pixel bitmaps.

      • Bitfields

        public static final BitmapCompression Bitfields

        RGB bit fields. Can be used only with 16 and 32-bit/pixel bitmaps.

      • Jpeg

        public static final BitmapCompression Jpeg

        JPEG compression. The bitmap contains a JPEG image.

      • Png

        public static final BitmapCompression Png

        PNG compression. The bitmap contains a PNG image.

      • AlphaBitfields

        public static final BitmapCompression AlphaBitfields

        RGBA bit fields. Can be used only with 16 and 32-bit/pixel bitmaps.

    • Method Detail

      • values

        public static BitmapCompression[] 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 (BitmapCompression c : BitmapCompression.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BitmapCompression 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
      • getType

        public int getType()
        Gets the value that represents the type of the enum.
        Returns:
        the type