FreeImage.GetColorType Method

FreeImage.NET

FreeImageGetColorType Method
Investigates the color type of the bitmap by reading the bitmap's pixel bits and analysing them.

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

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.

Return Value

Type: FREE_IMAGE_COLOR_TYPE
The color type of the bitmap.
See Also