Class DIBHeader.BitmapInfoHeader

  • Enclosing class:
    DIBHeader

    static final class DIBHeader.BitmapInfoHeader
    extends DIBHeader
    Represents the DIB (Device Independent Bitmap) Windows 3.0 Bitmap Information header structure. This is the common format for persistent DIB structures, even if Windows may use the later versions at run-time.

    Note: Some variations that includes the mask fields into the header size exists, but is no longer part of the documented spec.

    Version:
    $Id: DIBHeader.java,v 1.0 25.feb.2006 00:29:44 haku Exp$
    See Also:
    BMP file format (Wikipedia), BITMAPV3INFOHEADER.
    • Constructor Detail

      • BitmapInfoHeader

        BitmapInfoHeader()
    • Method Detail

      • read

        protected void read​(int size,
                            java.io.DataInput stream)
                     throws java.io.IOException
        Specified by:
        read in class DIBHeader
        Throws:
        java.io.IOException
      • write

        protected void write​(java.io.DataOutput stream)
                      throws java.io.IOException
        Specified by:
        write in class DIBHeader
        Throws:
        java.io.IOException