File Formats: BMP |
| |||||
|
Windows Bitmapdefined by Microsoftstatus of this document: done. |
|
Basic File Format
|
Raster Data compression for 8bit / 256 color imagesBitCount = 8 Compression = 1The pixel data is stored in 2bytes / 16bit chunks. The first of these specifies the number of consecutive pixels with the same color. The second byte defines their color index. If the first byte is zero, the second defines an escape code. The End-of-Bitmap is zero padded to end on a 32bit boundary. Due to the 16bit-ness of this structure this will always be either two zero bytes or none.
|
PortabilityAlthough BMPs were invented by Microsoft for its Windows platform, a lot of programs on other platforms are capable of reading and writing them. Notice the Intel order in 2byte and 4-byte integer values (Least significant byte first). The 16bit BMPs have been introduced to Windows after the others, still puzzling many applications. |
Trademarks, Patents and RoyaltiesTo my knowledge: None.(please read the disclaimer) |
Cross-Checking SoftwareThis section is for programmers, who wish to cross-check their implementation with others. This is an incomplete list of programs, which are available as freeware / shareware / try-before-buy etc.The following software is able to decode BMPs:
|
Online Resourceshttp://www.dcs.ed.ac.uk/~mxr/gfx/http://www.r2m.com/windev/ Internet Resources for Windows Developers |
Paper ResourcesMS-Windows SDK [German:] Referenzhandbuch Dateiformate by Günter Born. the following suggestions are from the Graphics Fileformats FAQ:
|
DisclaimerThis is not the official format documentation. Although we're doing our best to keep this information as accurate as possible, there is no way of checking all of it under all possible circumstances. We're not taking any responsibility for the results of this information or lack thereof. The 'trademarks, patents and royalties' section is here just for your convenience, and is in no way complete. Please send us a note, if you find any incorrect of missing information to fileformats@daubnet.com. |
© Jörn Daub EDV-Beratung - Glashütter Weg 105 - D-22889 Tangstedt