Set the FreeImage bitmap's transparency table. Only affects palletised bitmaps.

Namespace:  FreeImageAPI
Assembly:  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

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

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also