Skip to content

BmpInformationHeader Class ​

Definition ​

The 40-byte BITMAPINFOHEADER, retaining its original bytes and signed height.

c#
public sealed class BmpInformationHeader : Header

View source

Properties ​

NameDescription
BitsPerPixelGets the stored pixel depth.
ColoursUsedGets the declared colour count; zero uses the depth's full palette.
CompressionGets the compression identifier; zero denotes uncompressed BI_RGB.
HeightGets the signed image height; negative values indicate top-down storage.
HorizontalPixelsPerMetreGets the horizontal resolution in pixels per metre.
ImageSizeGets the declared pixel data size, which may be zero for BI_RGB.
ImportantColoursGets the number of important colours.
IsTopDownGets whether rows are stored top-down.
PlanesGets the number of colour planes.
RowStrideGets the stored row size, including four-byte alignment padding.
SizeGets the information header size.
VerticalPixelsPerMetreGets the vertical resolution in pixels per metre.
WidthGets the image width.