Creates new Bitmap instance from 3D array of pixels and palette.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ array As Integer(,,), _ format As PixelFormat, _ palette As ColorPalette _ )
public Bitmap( int[,,] array, PixelFormat format, ColorPalette palette )
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. Indexed pixel formats are treated as having single channel.Type: Aurigma.GraphicsMill.PixelFormat
Pixel format of new bitmap. If pixel format is not indexed, argument palette will be ignored.Format1bppIndexed and Format4bppIndexed pixel formats are not supported as well as any other pixel format which is not aligned on byte.