Converts several colors into another pixel format. These colors are represented by array. Color management is applied.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Function ConvertArray ( _ array As Integer(,,), _ format As PixelFormat, _ profile As ColorProfile _ ) As Integer(,,)
public int[,,] ConvertArray( int[,,] array, PixelFormat format, ColorProfile profile )
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. Array with this format is returned from Export() method of Bitmap and BitmapData.
Array channel number (third dimension) must conform pixel format specified by format argument.
Type: Aurigma.GraphicsMill.PixelFormat
PixelFormat value that describes pixel format for the pixels in the specified array.Type: Aurigma.GraphicsMill.ColorProfile
ColorPalette class instance that is used as an input profile.The destination pixel format is specified by DestinationPixelFormat property.
During conversion with this method, the color management will be applied. Argument profile will be used as an input profile, output profiles are specified by CmykColorProfile, RgbColorProfile, and GrayScaleColorProfile properties. Property TargetColorProfile will be used as well.
If output profile is not specified or ColorManagementEngine property is None, color management is disabled.