FreeImage.GetChannel Method

FreeImage.NET

FreeImageGetChannel Method
Retrieves the red, green, blue or alpha channel of a 24- or 32-bit image.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP GetChannel(
	FIBITMAP dib,
	FREE_IMAGE_COLOR_CHANNEL channel
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
channel
Type: FreeImageAPIFREE_IMAGE_COLOR_CHANNEL
The color channel to extract.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also