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.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
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