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.181-beta
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