Packages

 

com.aspose.cad.fileformats.bmp

Class BitmapInfoHeader

  • Direct Known Subclasses:
    BitmapV4Header


    public class BitmapInfoHeader
    extends Object

    Specifies bitmap info header v3.

    • Field Detail

      • BITMAP_INFO_HEADER_SIZE

        public static final int BITMAP_INFO_HEADER_SIZE

        The bitmap information header size v3

        See Also:
        Constant Field Values
      • BITMAP_INFO_HEADER_SIZE_V_4

        public static final int BITMAP_INFO_HEADER_SIZE_V_4

        The bitmap information header size v4

        See Also:
        Constant Field Values
      • BITMAP_INFO_HEADER_SIZE_V_5

        public static final int BITMAP_INFO_HEADER_SIZE_V_5

        The bitmap information header size v5

        See Also:
        Constant Field Values
    • Constructor Detail

      • BitmapInfoHeader

        public BitmapInfoHeader()

        Initializes a new instance of the BitmapInfoHeader class.

      • BitmapInfoHeader

        public BitmapInfoHeader(byte[] bytes)

        Initializes a new instance of the BitmapInfoHeader class.

        Parameters:
        bytes - The bytes.
    • Method Detail

      • getHeaderSize

        public long getHeaderSize()

        Gets or sets size of this structure in bytes.

      • setHeaderSize

        public void setHeaderSize(long value)

        Gets or sets size of this structure in bytes.

      • getBitmapWidth

        public int getBitmapWidth()

        Gets or sets bitmap width.

      • setBitmapWidth

        public void setBitmapWidth(int value)

        Gets or sets bitmap width.

      • getBitmapHeight

        public int getBitmapHeight()

        Gets or sets bitmap height.

      • setBitmapHeight

        public void setBitmapHeight(int value)

        Gets or sets bitmap height.

      • getBitmapPlanes

        public int getBitmapPlanes()

        Gets or sets number of planes.

      • setBitmapPlanes

        public void setBitmapPlanes(int value)

        Gets or sets number of planes.

      • getBitsPerPixel

        public int getBitsPerPixel()

        Gets or sets bits per pixel count.

      • setBitsPerPixel

        public void setBitsPerPixel(int value)

        Gets or sets bits per pixel count.

      • getBitmapCompression

        public long getBitmapCompression()

        Gets or sets bitmap compression.

      • setBitmapCompression

        public void setBitmapCompression(long value)

        Gets or sets bitmap compression.

      • getBitmapImageSize

        public long getBitmapImageSize()

        Gets or sets specifies bitmap raw data size in bytes.

      • setBitmapImageSize

        public void setBitmapImageSize(long value)

        Gets or sets specifies bitmap raw data size in bytes.

      • getBitmapXPelsPerMeter

        public int getBitmapXPelsPerMeter()

        Gets or sets horizontal pixels resolution.

      • setBitmapXPelsPerMeter

        public void setBitmapXPelsPerMeter(int value)

        Gets or sets horizontal pixels resolution.

      • getBitmapYPelsPerMeter

        public int getBitmapYPelsPerMeter()

        Gets or sets vertical pixels resolution.

      • setBitmapYPelsPerMeter

        public void setBitmapYPelsPerMeter(int value)

        Gets or sets vertical pixels resolution.

      • getBitmapColorsUsed

        public long getBitmapColorsUsed()

        Gets or sets number of palette colors used.

      • setBitmapColorsUsed

        public void setBitmapColorsUsed(long value)

        Gets or sets number of palette colors used.

      • getBitmapColorsImportant

        public long getBitmapColorsImportant()

        Gets or sets number of important palette colors.

      • setBitmapColorsImportant

        public void setBitmapColorsImportant(long value)

        Gets or sets number of important palette colors.