GifInformation.CreateGlobalPalette Method (Palette, Int32)

FreeImage.NET

GifInformationCreateGlobalPalette Method (Palette, Int32)
Creates a global palette for the GIF image with the specified size, intialized with the first size entries of the specified palette. The property UseGlobalPalette will be set to true when invoking this method. This effectively enables the newly created global palette.

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public void CreateGlobalPalette(
	Palette palette,
	int size
)

Parameters

palette
Type: FreeImageAPIPalette
The palette that contains the initial values for the newly created global palette.
size
Type: SystemInt32
The size of the newly created global palette.
Exceptions
ExceptionCondition
ArgumentNullExceptionpalette is a null reference.
See Also