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.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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