Wondercoll
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
bmpfmt.h
Go to the documentation of this file.
1 #include <stdint.h>
2 
3 struct bmpfile_header {
4  unsigned char magic[2];
5  uint32_t filesz;
6  uint16_t creator1;
7  uint16_t creator2;
8  uint32_t bmp_offset;
9 };
10 
12  uint32_t header_sz;
13  uint32_t width;
14  uint32_t height;
15  uint16_t nplanes;
16  uint16_t bitspp;
17  uint32_t compress_type;
18  uint32_t bmp_bytesz;
19  uint32_t hres;
20  uint32_t vres;
21  uint32_t ncolors;
22  uint32_t nimpcolors;
23 };