Aurigma Graphics Mill 5.5 for .NET
Bitmap..::.Palette Property
Returns palette accosiated with bitmap.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Visual Basic
Public ReadOnly Property Palette As ColorPalette
C#
public ColorPalette Palette { get; }
Property Value
ColorPalette associated with bitmap.Remarks
Palette makes sense only for indexed bitmaps. No palette is returned if pixel format of the bitmap is not indexed.
Once palette is attached to the bitmap (either in constructor or during color conversion), you cannot change entries number as well as attach another palette. In this case you need to initiate color conversion one more time. However it is not necessary if you need just modify values of palette entries.