BmpFile Class
Definition
A Windows BMP image retaining its headers, colour table and stored pixel rows.
c#
public sealed class BmpFile : ImageFileConstructors
| Name | Description |
|---|---|
BmpFile(ImageData, Boolean) | Creates a BMP file from opaque RGB colours or four/eight-bit indexed pixels. |
Properties
| Name | Description |
|---|---|
BitsPerPixel | Gets the stored pixel bit depth. |
Format | Gets the BMP format. |
Gap | Gets the retained bytes between the colour table and pixel data. |
Header | Gets the file header. |
Image | Gets a shared convenience view derived from the file's concrete components. |
InformationHeader | Gets the BITMAPINFOHEADER. |
IsTopDown | Gets whether rows are stored top-down. |
Palette | Gets the stored colour table, or null for images without a colour table. |
PixelData | Gets the stored packed pixel rows, including padding. |
TrailingData | Gets the retained bytes following the pixel rows, including any bytes beyond the declared file size. |