[]
Initializes a new instance of the Bitmap class from an array of pixel datas.
public static Bitmap New<T>(ImagingFactory factory, int width, int height, Guid pixelFormat, T[] pixelDatas, int stride = 0) where T : struct
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
int | width | The width. |
int | height | The height. |
Guid | pixelFormat | The pixel format. |
T[] | pixelDatas | The pixel datas. |
int | stride | Stride of a row of pixels (number of bytes per row). By default the stride is == 0, and calculated by taking the sizeof(T) * width. |
Type | Description |
---|---|
Bitmap |
Name | Description |
---|---|
T |