Set the FreeImage bitmap's transparency table. Only affects palletised bitmaps.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static void SetTransparencyTable( FIBITMAP dib, byte[] table ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetTransparencyTable ( _ dib As FIBITMAP, _ table As Byte() _ ) |
Visual C++ |
---|
public: static void SetTransparencyTable( FIBITMAP dib, array<unsigned char>^ table ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- table
- Type: array<
System..::.Byte
>[]()[]
The FreeImage bitmap's new transparency table.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | dib or table is null. |