Skip to content

BmpPixelData.GetImage Method ​

Definition ​

Converts the stored rows to top-left-origin, row-major image data.

c#
public ImageData GetImage(BmpInformationHeader header, BmpPalette? palette);

View source

Parameters ​

NameTypeDescription
headerBmpInformationHeaderThe information header describing the rows.
paletteBmpPaletteThe colour table for indexed images, or null for RGB24.

Returns ​

ImageData

The normalised image view.