Planes is the number of color planes used to represent the bitmap data. BMP files contain only one color plane, so this value is always 1. BitsPerPixel is the number of bits per pixel in each plane. The Windows BMP format supports a simple run-length encoded (RLE) compression scheme for compressing 4-bit and 8-bit bitmap data. Each pixel in the bitmap data stores a single value used as an index into the color palette. Run offset markers are used when a bitmap may contain a large amount of «don’t care» pixels. Since this is a byte-wise RLE scheme, 1-, 16-, 24-, and 32-bit bitmaps cannot be compressed using it, due to the typical lack of long runs of bytes with identical values in these types of data. BMP uses a two-value RLE scheme.
This «short scan line» technique is used to omit unneeded portions of scan lines. Its many variations and differences from the OS/2 BMP format can be confusing. Word breaking Insert spaces into a string of words lacking spaces, like a hashtag or part of a URL. Try this word breaking demo by inputting a string of words with no spaces in between. For example, if the BMP file holds a bitmap used as a mask (such as those used with icons and pointers), many of the pixels in the rectangular bitmap may not be used.
File Header Bitmap Data Windows 2.x, 3.x, and 4.x BMP files contain four sections: a file header, a bitmap information header, a color palette, and the bitmap data. Of these four sections, only the palette information may be optional, depending on the bit depth of the bitmap data. Four-bit pixels are packed two per byte with the most significant nibble being the leftmost pixel. This header contains information specific to the bitmap data. It is not trivial to create a configuration file for a .DLL, and for good reason. Cost for attachment in this forum is 10 Points.