Class BitmapV4Header

BitmapV4Header class

The BitmapV4Header structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure. The BitmapV4Header structure is extended to allow a JPEG or PNG image to be passed as the source image to StretchDIBits.

public class BitmapV4Header : BitmapInfoHeader

Properties

NameDescription
AlphaMask { get; set; }Gets or sets the color mask that specifies the alpha component of each pixel.
BitmapColorsImportant { get; set; }Gets or sets number of important palette colors.
BitmapColorsUsed { get; set; }Gets or sets number of palette colors used.
BitmapCompression { get; set; }Gets or sets bitmap compression.
BitmapHeight { get; set; }Gets or sets bitmap height.
BitmapImageSize { get; set; }Gets or sets specifies bitmap raw data size in bytes.
BitmapPlanes { get; set; }Gets or sets number of planes.
BitmapWidth { get; set; }Gets or sets bitmap width.
BitmapXPelsPerMeter { get; set; }Gets or sets horizontal pixels resolution.
BitmapYPelsPerMeter { get; set; }Gets or sets vertical pixels resolution.
BitsPerPixel { get; set; }Gets or sets bits per pixel count.
BlueMask { get; set; }Gets or sets the color mask that specifies the blue component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
CSType { get; set; }Gets or sets the color space of the DIB.
Endpoints { get; set; }Gets or sets the CoordinatesTriple class.
ExtraBitMasks { get; set; }Gets or sets the extra bit masks. Present only in case the DIB header is the BITMAPINFOHEADER and the BitmapCompression is set to either Bitfields (RGB) or AlphaBitfields (RGBA).
GammaBlue { get; set; }Gets or sets the gamma blue.
GammaGreen { get; set; }Gets or sets the gamma green.
GammaRed { get; set; }Gets or sets the gamma red.
GreenMask { get; set; }Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
HeaderSize { get; set; }Gets or sets size of this structure in bytes.
RedMask { get; set; }Gets or sets the color mask that specifies the red component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

See Also