Create

BitmapInfo.Create method

Create new BitmapInfo instance

public static BitmapInfo Create(byte[] pixelBytes, int width, int height, PixelFormat format)
Parameter Type Description
pixelBytes Byte[] Array of pixels.
width Int32 Width of the bitmap.
height Int32 Height of the bitmap.
format PixelFormat Pixel format of the bitmap.

See Also