This documentation is for the old version. Go to the latest Graphics Mill docs

GifEncoderOptions.GlobalPalette Property

Gets/sets a global palette for the animated frame.

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

Syntax

Visual Basic
Public Property GlobalPalette As ColorPalette
C#
public ColorPalette GlobalPalette { get; set; }

Property Value

ColorPalette class instance that specifies a global palette for the animated GIF.

Remarks

Using global palette may noticeable reduce result file size, however it requires some additional preparations of the GIF frames. Besides, you will not be able to use different colors in each frame.

By default the global palette is not initialized (it is set to null).

See Also

Reference