LibGd 2.4.0-dev
GD Graphics library
Loading...
Searching...
No Matches
Data Fields
gdBmpInfo Struct Reference

#include <gd.h>

Data Fields

int header_type
 
int width
 
int height
 
int top_down
 
int planes
 
int bits_per_pixel
 
int compression
 
int image_size
 
int horizontal_resolution
 
int vertical_resolution
 
int colors_used
 
int important_colors
 
int palette_type
 
int palette_entries
 
unsigned int red_mask
 
unsigned int green_mask
 
unsigned int blue_mask
 
unsigned int alpha_mask
 

Detailed Description

Descriptive facts read from a BMP file header.

Field Documentation

◆ alpha_mask

unsigned int gdBmpInfo::alpha_mask

Alpha channel mask.

◆ bits_per_pixel

int gdBmpInfo::bits_per_pixel

Number of bits per pixel.

◆ blue_mask

unsigned int gdBmpInfo::blue_mask

Blue channel mask.

◆ colors_used

int gdBmpInfo::colors_used

Number of colors used in the palette.

◆ compression

int gdBmpInfo::compression

Compression method used.

◆ green_mask

unsigned int gdBmpInfo::green_mask

Green channel mask.

◆ header_type

int gdBmpInfo::header_type

Type of the BMP header.

◆ height

int gdBmpInfo::height

Image height in pixels.

◆ horizontal_resolution

int gdBmpInfo::horizontal_resolution

Horizontal resolution in pixels per meter.

◆ image_size

int gdBmpInfo::image_size

Size of the pixel data in bytes.

◆ important_colors

int gdBmpInfo::important_colors

Number of important colors.

◆ palette_entries

int gdBmpInfo::palette_entries

Number of entries in the palette.

◆ palette_type

int gdBmpInfo::palette_type

Type of the palette.

◆ planes

int gdBmpInfo::planes

Number of color planes.

◆ red_mask

unsigned int gdBmpInfo::red_mask

Red channel mask.

◆ top_down

int gdBmpInfo::top_down

Nonzero if the image is stored top-down.

◆ vertical_resolution

int gdBmpInfo::vertical_resolution

Vertical resolution in pixels per meter.

◆ width

int gdBmpInfo::width

Image width in pixels.


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