This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap Constructor (Int32[,], PixelFormat)

Creates new Bitmap instance from 3D array of pixels.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	array As Integer(,,), _
	format As PixelFormat _
)
C#
public Bitmap(
	int[,,] array,
	PixelFormat format
)

Parameters

array

Type: System.Int32 [,]

Array of image pixels should have the following format: first dimension is bitmap columns, second dimension is a bitmap rows, third dimension is a pixels channels.
format

Type: Aurigma.GraphicsMill.PixelFormat

Pixel format of new bitmap.

See Also

Reference