|
BitmapExtensionsFromPixelData Method
|
Converts from an array of pixel data to a Bitmap image.
Namespace: GSF.DrawingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static Bitmap FromPixelData(
int width,
uint[] pixelData
)
Public Shared Function FromPixelData (
width As Integer,
pixelData As UInteger()
) As Bitmap
public:
static Bitmap^ FromPixelData(
int width,
array<unsigned int>^ pixelData
)
static member FromPixelData :
width : int *
pixelData : uint32[] -> Bitmap
GSF.Drawing.BitmapExtensions.FromPixelData = function(width, pixelData);
View SourceParameters
- width Int32
- The width of the bitmap.
- pixelData UInt32
- The values of individual pixels in ARGB format.
Return Value
BitmapA bitmap image converted from the pixel data.
See Also