Returns a structure that represents the palette of a FreeImage bitmap.
Namespace:
FreeImageAPIAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | dib is null. |