Insert a 8-bit dib into a 24- or 32-bit image.
Both images must have to same width and height.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool SetChannel( FreeImageBitmap bitmap, FREE_IMAGE_COLOR_CHANNEL channel ) |
Visual Basic (Declaration) |
---|
Public Function SetChannel ( _ bitmap As FreeImageBitmap, _ channel As FREE_IMAGE_COLOR_CHANNEL _ ) As Boolean |
Visual C++ |
---|
public: bool SetChannel( FreeImageBitmap^ bitmap, FREE_IMAGE_COLOR_CHANNEL channel ) |
Parameters
- bitmap
- Type: FreeImageAPI..::.FreeImageBitmap
The FreeImageBitmap to insert.
- channel
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
The color channel to replace.