WORD Type ; File Type ID Word Width ; Width of Bitmap in pixels Word Height ; Height of Bitmap in Scanlines (rows of data) Word Width ; Width of Bitmap in Bytes Byte Planes ; Number of different palettes Byte BitsPixel ; Number of Bits per Pixel
The number of bits needed for a line in the image is the product of the number of bits per pixel times thenumber of pixels per line times the number of color planes.