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 static bool SetChannel( FIBITMAP dib, FIBITMAP dib8, FREE_IMAGE_COLOR_CHANNEL channel ) |
Visual Basic (Declaration) |
---|
Public Shared Function SetChannel ( _ dib As FIBITMAP, _ dib8 As FIBITMAP, _ channel As FREE_IMAGE_COLOR_CHANNEL _ ) As Boolean |
Visual C++ |
---|
public: static bool SetChannel( FIBITMAP dib, FIBITMAP dib8, FREE_IMAGE_COLOR_CHANNEL channel ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- dib8
- Type: FreeImageAPI..::.FIBITMAP
Handle to the bitmap to insert.
- channel
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
The color channel to replace.