Aurigma Graphics Mill 5.5 for .NET
Bitmap..::.Load Method (array<Int32,3>[,](,)[,], PixelFormat, ColorPalette)
Loads the bitmap from given 3D array of pixels and palette.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Visual Basic
Public Sub Load ( _ array As Integer(,,), _ format As PixelFormat, _ palette As ColorPalette _ )
C#
public void Load( int[,,] array, PixelFormat format, ColorPalette palette )
Parameters
- array
-
Type: array< System..::.Int32 ,3>[,](,)[,]
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.
- format
- Pixel format of new bitmap. If pixel format is not indexed, argument palette will be ignored.
- palette
- Palette attached to new bitmap. Note, this palette object is binded to bitmap, not copied. It means that if you later change anything in palette object, changes will be reflected in the palette of bitmap.