Class BMPReader

All Implemented Interfaces:
Closeable, AutoCloseable, ICompressedTileReader, IFormatHandler, IFormatReader, IMetadataConfigurable, IPyramidHandler

public class BMPReader extends FormatReader
BMPReader is the file format reader for Microsoft Bitmap (BMP) files. See http://astronomy.swin.edu.au/~pbourke/dataformats/bmp/ for a nice description of the BMP file format.
Author:
Melissa Linkert melissa at glencoesoftware.com
  • Field Details

    • BMP_MAGIC_STRING

      public static final String BMP_MAGIC_STRING
      See Also:
    • RAW

      private static final int RAW
      Compression types.
      See Also:
    • RLE_8

      private static final int RLE_8
      See Also:
    • RLE_4

      private static final int RLE_4
      See Also:
    • RGB_MASK

      private static final int RGB_MASK
      See Also:
    • bpp

      private int bpp
      Number of bits per pixel.
    • palette

      private byte[][] palette
      The palette for indexed color images.
    • compression

      private int compression
      Compression type
    • global

      private long global
      Offset to image data.
    • invertY

      private boolean invertY
  • Constructor Details

    • BMPReader

      public BMPReader()
      Constructs a new BMP reader.
  • Method Details