Verifies whether the FreeImage bitmap is 16bit 565.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static bool IsRGB565(
	FIBITMAP dib
)
Visual Basic (Declaration)
Public Shared Function IsRGB565 ( _
	dib As FIBITMAP _
) As Boolean
Visual C++
public:
static bool IsRGB565(
	FIBITMAP dib
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
The FreeImage bitmap to verify.

Return Value

true if the bitmap is RGB16-565; otherwise false.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also