Bitmap.Palette Property

Gets a palette associated with this bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


public ColorPalette Palette { get; set; }

Property Value

A ColorPalette associated with this bitmap.


A palette makes sense only for indexed bitmaps. No palette is returned if 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 to modify values of palette entries.

See Also