Returns a structure that represents the palette of a FreeImage bitmap.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static Palette GetPaletteEx(
	FIBITMAP dib
)
Visual Basic (Declaration)
Public Shared Function GetPaletteEx ( _
	dib As FIBITMAP _
) As Palette
Visual C++
public:
static Palette^ GetPaletteEx(
	FIBITMAP dib
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.

Return Value

A structure representing the bitmaps palette.

Exceptions

ExceptionCondition
System..::.ArgumentNullException dib is null.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also