uint16_t type; // The header field used to identify the BMP and DIB file is 0x42 0x4D in hexadecimal, same as BM in ASCII. uint32_t size; // The size of the BMP file in bytes. uint16_t reserved_1; // ...
Virtually all browsers can read BMP files, but not all browsers supports BMP with canvas' toDataURL(). The canvas-to-bmp plugin solves this when you need your canvas graphics as BMP. canvas-to-bmp is ...