Converts a Bitmap instance to a FreeImageBitmap instance.

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

Syntax

C#
public static explicit operator FreeImageBitmap (
	Bitmap value
)
Visual Basic (Declaration)
Public Shared Narrowing Operator CType ( _
	value As Bitmap _
) As FreeImageBitmap
Visual C++
static explicit operator FreeImageBitmap^ (
	Bitmap^ value
)

Parameters

value
Type: System.Drawing..::.Bitmap
A Bitmap instance.

Return Value

A new instance of FreeImageBitmap initialized to value.

Remarks

The explicit conversion from Bitmap into FreeImageBitmap allows to create an instance on the fly to perform image processing operations and converting it back.

Version Information

FreeImage.NET

Supported in: 3.12.0, 3.13.0, 3.13.1

See Also