maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
MFMT_STRUCT_BMPINFO Struct Reference

BITMAPINFO struct that comes before Windows bitmap data. More...

#include <mfmt.h>

Data Fields

uint32_t sz
 Size of this struct in bytes (only 40 is supported).
 
int32_t width
 Width of the bitmap in pixels.
 
int32_t height
 Height of the bitmap in pixels.
 
uint16_t color_planes
 Number of color planes (only 0 or 1 are supported).
 
uint16_t bpp
 Number of bits per pixel (only =<8 are supported).
 
uint32_t compression
 Type of compression used.
 
uint32_t img_sz
 Size of pixel data in bytes.
 
uint32_t hres
 Horizontal resolution in pixels per inch (unsupported).
 
uint32_t vres
 Vertical resolution in pixels per inch (unsupported).
 
uint32_t palette_ncolors
 Number of palette colors in this bitmap (<256 supported).
 
uint32_t imp_colors
 

Detailed Description

BITMAPINFO struct that comes before Windows bitmap data.

Field Documentation

◆ imp_colors

uint32_t MFMT_STRUCT_BMPINFO::imp_colors

\bried Number of important colors (unsupported).


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