Click or drag to resize

BitmapExtensionsFromPixelData Method

Converts from an array of pixel data to a Bitmap image.

Namespace: GSF.Drawing
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static Bitmap FromPixelData(
	int width,
	uint[] pixelData
)
View Source

Parameters

width  Int32
The width of the bitmap.
pixelData  UInt32
The values of individual pixels in ARGB format.

Return Value

Bitmap
A bitmap image converted from the pixel data.
See Also