Packages

 

com.aspose.imaging.apsbuilder.dib

Class DibBitCount

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.apsbuilder.dib.DibBitCount


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

    The BitCount Enumeration specifies the number of bits that define each pixel and the maximum number of colors in a device-independent bitmap (DIB).

    • 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 short BIT_COUNT_0
      The number of bits per pixel is undefined.
      static short BIT_COUNT_1
      The image is specified with two colors.Each pixel in the bitmap is represented by a single bit.
      static short BIT_COUNT_2
      The image is specified with a maximum of 16 colors.
      static short BIT_COUNT_3
      The image is specified with a maximum of 256 colors.
      static short BIT_COUNT_4
      The image is specified with a maximum of 2^16 colors.
      static short BIT_COUNT_5
      The bitmap has a maximum of 2^24 colors, and the Colors field of DIB is NULL.
      static short BIT_COUNT_6
      The bitmap has a maximum of 2^24 colors
      • 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

      • BIT_COUNT_0

        public static final short BIT_COUNT_0

        The number of bits per pixel is undefined. The image SHOULD be in either JPEG or PNG format. Neither of these formats includes a color table, so this value specifies that no color table is present. See [JFIF] and [RFC2083] for more information concerning JPEG and PNG compression formats.

        See Also:
        Constant Field Values
      • BIT_COUNT_1

        public static final short BIT_COUNT_1

        The image is specified with two colors.Each pixel in the bitmap is represented by a single bit. If the bit is clear, the pixel is displayed with the color of the first entry in the color table; if the bit is set, the pixel has the color of the second entry in the table.

        See Also:
        Constant Field Values
      • BIT_COUNT_2

        public static final short BIT_COUNT_2

        The image is specified with a maximum of 16 colors. Each pixel in the bitmap is represented by a 4-bit index into the color table, and each byte contains 2 pixels.

        See Also:
        Constant Field Values
      • BIT_COUNT_3

        public static final short BIT_COUNT_3

        The image is specified with a maximum of 256 colors. Each pixel in the bitmap is represented by an 8-bit index into the color table, and each byte contains 1 pixel.

        See Also:
        Constant Field Values
      • BIT_COUNT_4

        public static final short BIT_COUNT_4

        The image is specified with a maximum of 2^16 colors. Each pixel in the bitmap is represented by a 16-bit value

        See Also:
        Constant Field Values
      • BIT_COUNT_5

        public static final short BIT_COUNT_5

        The bitmap has a maximum of 2^24 colors, and the Colors field of DIB is NULL. Each 3-byte triplet in the bitmap array represents the relative intensities of blue, green, and red, respectively, for a pixel. The Colors color table is used for optimizing colors used on palette-based devices, and MUST contain the number of entries specified by the ColorUsed field of the BitmapInfoHeader Object

        See Also:
        Constant Field Values
      • BIT_COUNT_6

        public static final short BIT_COUNT_6

        The bitmap has a maximum of 2^24 colors

        See Also:
        Constant Field Values