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.266-beta+c6b78f50c57a6e00a35ffa6b1d344e516617d5cd
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