A library for working with phylogenetic and population genetic data.
v0.27.0
BmpWriter::BitmapInfo Struct Reference

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

Detailed Description

Bitmap info that describes dimensions and color information.

This struct is an extension of the BitmapInfoheader struct. It is used to additionally store a palette of colors in form of a vector of RgbQuad. This is needed if the Bitmap uses fewer than 24 bits per pixel, that is, if the Bitmap is not a full RGB Color image.

See also
BmpWriter
BitmapInfoheader
RgbQuad

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

Public Attributes

std::vector< RgbQuadbmiColors
 
BitmapInfoheader bmiHeader
 

Member Data Documentation

◆ bmiColors

std::vector<RgbQuad> bmiColors

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

◆ bmiHeader

BitmapInfoheader bmiHeader

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


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