FreeImage.NET Class Library Reference
Palette Constructor (FIBITMAP) |
Initializes a new instance for the given FreeImage bitmap.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public Palette( FIBITMAP dib )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dib is null. |
ArgumentException | dib is not
FIT_BITMAP -or- dib has more than 8bpp. |
See Also