Set the real or imaginary part of a complex image. Both images must have to same width and height.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static bool SetComplexChannel(
	FIBITMAP dst,
	FIBITMAP src,
	FREE_IMAGE_COLOR_CHANNEL channel
)
Visual Basic (Declaration)
Public Shared Function SetComplexChannel ( _
	dst As FIBITMAP, _
	src As FIBITMAP, _
	channel As FREE_IMAGE_COLOR_CHANNEL _
) As Boolean
Visual C++
public:
static bool SetComplexChannel(
	FIBITMAP dst, 
	FIBITMAP src, 
	FREE_IMAGE_COLOR_CHANNEL channel
)

Parameters

dst
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
src
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
channel
Type: FreeImageAPI..::.FREE_IMAGE_COLOR_CHANNEL
The color channel to replace.

Return Value

Returns true on success, false on failure.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also