BMP Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
(No difference)

Revision as of 20:10, 4 January 2021

BMP


Format Specifications

// BMP file format (image)

// little endian

// header
2 bytes (char) - magic // "BM"
4 bytes (uint32) - size of the BMP file
4 bytes - reserved
4 bytes (uint32) - offset of image data

// DIB header / Info header
4 bytes (uint32) - size of info header
4 bytes (uint32) - bitmap width in pixels
4 bytes (uint32) - bitmap height in pixels
2 bytes (uint16) - number of color planes   // must be "1"
2 bytes (uint16) - 



// bit masks (optional)
x bytes - extra bit masks 

// color table (optional)
x bytes - color table

// pixel array
x bytes - pixel array

MultiEx BMS Script

Not written yet.

Notes and Comments

Generic Bitmap *.bmp Image.

Games

List of games using this file format:

Compatible Programs