claw::graphic::bitmap::file_structure::header Struct Reference

Header of a bitmap file. More...

`#include <bitmap.hpp>`

## Public Attributes

char | id [2]
| File identifier (must be 'BM').
unsigned int | file_size
| File's size.
unsigned int | nop
| not used.
unsigned int | data_offset
| Begininf of the datas.
unsigned int | header_size
| Header's size.
unsigned int | width
| Image's width.
unsigned int | height
| Image's height.
unsigned short | layers
| Number of layers.
unsigned short | bpp
| Bits per pixel.
unsigned int | compression
| Compression algorithm.
unsigned int | image_size
| Image's size (bytes).
unsigned int | ppm_x
| Horizontal resolution (pixels per meter).
unsigned int | ppm_y
| Vertical resolution (pixels per meter).
unsigned int | colors_count
| Number of colors.
unsigned int | importants_colors
| Number of important colors.

## Detailed Description

Header of a bitmap file.

Definition at line 76 of file bitmap.hpp.

The documentation for this struct was generated from the following file:

- bitmap.hpp