FreeImage.IsTransparent Method

FreeImage.NET

FreeImageIsTransparent Method
Returns whether the transparency table is enabled.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool IsTransparent(
	FIBITMAP dib
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.

Return Value

Type: Boolean
Returns true when the transparency table is enabled (1-, 4- or 8-bit images) or when the input dib contains alpha values (32-bit images). Returns false otherwise.
See Also