Retrieves the red, green, blue or alpha channel of a 24- or 32-bit image.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public FreeImageBitmap GetChannel( FREE_IMAGE_COLOR_CHANNEL channel ) |
Visual Basic (Declaration) |
---|
Public Function GetChannel ( _ channel As FREE_IMAGE_COLOR_CHANNEL _ ) As FreeImageBitmap |
Visual C++ |
---|
public: FreeImageBitmap^ GetChannel( FREE_IMAGE_COLOR_CHANNEL channel ) |
Parameters
- channel
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
The color channel to extract.