A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BmpWriter::BitmapFileheader Struct Reference

#include <genesis/utils/formats/bmp/writer.hpp>

Detailed Description

Bitmap File Header.

This POD structure holds information about a Bitmap file. Usually, it is followed by a BitmapInfoheader.

The data is stored in the following order:

start size name stdvalue purpose
0 2 bfType 19778 Must be 'BM' to declare that this is a .bmp-file.
2 4 bfSize ?? Size of the file in bytes, including headers, pixel data and padding.
6 2 bfReserved1 0 Must be set to zero.
8 2 bfReserved2 0 Must be set to zero.
10 4 bfOffBits 54 Offset from the start of the file to the pixel data.
See Also
BmpWriter
BitmapInfoheader

Definition at line 85 of file utils/formats/bmp/writer.hpp.

Public Attributes

uint32_t bfOffBits = 14 + 40
 
uint16_t bfReserved1 = 0
 
uint16_t bfReserved2 = 0
 
uint32_t bfSize
 
uint16_t bfType = 0x4D42
 

Member Data Documentation

uint32_t bfOffBits = 14 + 40

Definition at line 91 of file utils/formats/bmp/writer.hpp.

uint16_t bfReserved1 = 0

Definition at line 89 of file utils/formats/bmp/writer.hpp.

uint16_t bfReserved2 = 0

Definition at line 90 of file utils/formats/bmp/writer.hpp.

uint32_t bfSize

Definition at line 88 of file utils/formats/bmp/writer.hpp.

uint16_t bfType = 0x4D42

Definition at line 87 of file utils/formats/bmp/writer.hpp.


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