Gets/sets the maximum number of colors in palette that should be used when performing conversion to an indexed pixel format.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Property PaletteEntryCount As Integer
public int PaletteEntryCount { get; set; }
When DestinationPixelFormat is Format8bppIndexed, this value should be equal or less 256. For the Format4bppIndexed pixel format, 16 or less colors can be used. For Format1bppIndexed, only 2 colors can be specified.
If you specify more colors than the palette supports, an exception will be raised.