A library for working with phylogenetic and population genetic data.
v0.27.0
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 87 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

◆ bfOffBits

uint32_t bfOffBits = 14 + 40

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

◆ bfReserved1

uint16_t bfReserved1 = 0

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

◆ bfReserved2

uint16_t bfReserved2 = 0

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

◆ bfSize

uint32_t bfSize

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

◆ bfType

uint16_t bfType = 0x4D42

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


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