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)
Syntax
C# |
---|
public void CreateGlobalPalette(
Palette palette,
int size
) |
Visual Basic (Declaration) |
---|
Public Sub CreateGlobalPalette ( _
palette As Palette, _
size As Integer _
) |
Visual C++ |
---|
public:
void CreateGlobalPalette(
Palette^ palette,
int size
) |
Parameters
- palette
- Type: FreeImageAPI..::.Palette
The palette that contains the initial values for
the newly created global palette.
- size
- Type: System..::.Int32
The size of the newly created global palette.
Exceptions
Version Information
FreeImage.NET
Supported in: 3.12.0, 3.13.0, 3.13.1
See Also