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 bool SetComplexChannel(
	FreeImageBitmap bitmap,
	FREE_IMAGE_COLOR_CHANNEL channel
)
Visual Basic (Declaration)
Public Function SetComplexChannel ( _
	bitmap As FreeImageBitmap, _
	channel As FREE_IMAGE_COLOR_CHANNEL _
) As Boolean
Visual C++
public:
bool SetComplexChannel(
	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.

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