Applies color reduction to indexed pixel formats.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub ConvertToIndexed ( _
bpp As Integer, _
paletteType As ColorPaletteType, _
customPalette As ColorPalette _
)
public void ConvertToIndexed(
int bpp,
ColorPaletteType paletteType,
ColorPalette customPalette
)
Type: System.Int32
Value specifying necessary bits per pixel. Valid values are 1, 4, and 8.Type: Aurigma.GraphicsMill.ColorPaletteType
ColorPaletteType value specifying how to generate palette.Type: Aurigma.GraphicsMill.ColorPalette
ColorPalette class instance which is used when paletteType is Custom.