The BMP (Bitmap image) is a raster image format which was introduced by Microsoft on the Windows platform. The BMP file is also known as a Device Independent Bitmap (DIB) file, meaning it is independent of display devices and the image file can be viewed without a graphics adapter.
A BMP file with its simplest and the most widely used structure holds 3 bytes of data; 8 bits for each red, green and blue channels. Other data representations like alpha channel and indexed color are also supported, but not commonly used and implemented.
Although there are several compression methods and algorithms available, the most common form of BMP format is uncompressed, resulting in large file sizes. This makes BMP image a bad choice for web photographs. It's a good idea to choose WebP for its compression with a fallback to JPEG for its better compatibility.
|Use For||Windows computers and general software graphic platforms, 2D applications. However, it is not widely used and recommended nowadays, because of better alternatives.|
|License||Covered by the Microsoft Open Specification Promise; while Microsoft holds patents against BMP, they have published a promise not to assert its patent rights as long as specific conditions are met. This is not the same as a license, however. BMP is included under the Windows Metafile Format (.wmf).|
|Compression||None, RLE (Run-Length Encoding), JPEG and PNG.|
|Max Dimensions||Either 32,767×32,767 or 2,147,483,647×2,147,483,647 pixels, depending on the format version|