FreeImage.NET Class Library Reference
![]() | Palette Constructor (MetadataTag) |
Initializes a new instance for the given MetadataTag that contains
a palette.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
SyntaxC#
public Palette( MetadataTag tag )
Parameters
- tag
- Type: FreeImageAPI.MetadataMetadataTag
The tag containing the palette.
Exceptions| Exception | Condition |
|---|---|
| ArgumentNullException | dib is null. |
| ArgumentException | tag is not FIDT_PALETTE. |
See Also