GifEncoderGlobalPalette Property

Gets or sets the global palette. If not set, then each added image will be stored along with their own palette. If not , then the palette of the added images are stored only when they are different from the global palette.
Default value: .

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
C#
public Palette? GlobalPalette { get; set; }

Property Value

Palette

Exceptions

ArgumentExceptionvalue has more than 256 colors.
InvalidOperationExceptionThis property cannot be set after adding the first image.

See Also