The National Archives
Search our website
  • Search our website
  • Search our records
   
 
Image of software box and CD PRONOM
Welcome (PRONOM  home page) About PRONOM Add an entry
Search Help - opens in a new window Information resources - opens in a new window
 
 
 

*Details: File format summary

   
 

 

Search by keyword Search by file format Search by PUID Search by software Search by vendor Search by lifecycles Search by Migration Pathway

Details for:

Save as... XML | CSV Printer friendly version
 
Go to:  Summary  |  Documentation  |  Signatures |  Compression  |  Character encoding  |  Rights  |  Reference files   Properties  
 

Signatures

External signatures File extension: bmp
Internal signatures
Name OS/2 Bitmap 2.0
Description 2-byte file type identifier ASCII “BM” at beginning of a 14-byte file header; offset 14 little-endian long integer size of bitmap header (16, 64); offset 26 2-byte little-endian number of bit planes (always 1). The 2 byte file type identifier BM indicates that the BMP was created by OS/2 or Windows. Windows 3.x, Windows NT, and OS/2 2.x BMP files only vary in the number of fields in the bitmap header and in the interpretation of the compression field. Bitmap headerSize is 12 for Windows 2.x BMP and OS/2 1.x BMP, 40 for Windows 3.x and Windows NT BMP, 12 to 64 for OS/2 2.x BMP, and 108 for Windows 4.x BMP. Only OS/2 2.x bitmaps have Bitmap header size of 16 and 64. If Bitmap header size is 40, only OS/2 Bitmaps can use 24-bit RLE compression on 24-bit pixel bitmaps and only oS/2 bitmaps can use Huffman 1D compression on 1-bit per pixel (monochrome) bitmaps.
Byte sequences
Position type Absolute from BOF
Offset 0
Byte order  
Value 424D{12}(10|30|40)000000{8}0100
Name OS/2 Bitmap 2.0 (24-bit RLE compression)
Description 2-byte magic number ASCII “BM” at beginning of a 14-byte file header; offset 14 little-endian long integer size of bitmap header (40); offset 26 2-byte little-endian number of bit planes (always 1); offset 28 24-bits per pixel (1800); offset 30 Compression type 24-bit RLE (0400).
Byte sequences
Position type Absolute from BOF
Offset 0
Byte order  
Value 424D{12}28000000{8}0100180004000000
Name OS/2 Bitmap 2.0 (Huffman 1D compression)
Description 2-byte magic number ASCII “BM” at beginning of a 14-byte file header; offset 14 little-endian long integer size of bitmap header (40); offset 26 2-byte little-endian number of bit planes (always 1); offset 28 1-bit perpixel (0100); offset 30 huffman 1D compression (0300)
Byte sequences
Position type Absolute from BOF
Offset 0
Byte order  
Value 424D{12}28000000{8}0100010003000000
Top of page Top of page
 
         
The National Archives Newsletter Icon

Send me The National Archives’ newsletter

A monthly round-up of news, blogs, offers and events.