Converts a Bitmap instance to a FreeImageBitmap instance.

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

Syntax

C#
public static implicit operator FreeImageBitmap (
	Bitmap value
)
Visual Basic (Declaration)
Public Shared Widening Operator CType ( _
	value As Bitmap _
) As FreeImageBitmap
Visual C++
static implicit 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 implicit 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.11.0

See Also