Converts a Bitmap instance to a FreeImageBitmap instance.
Namespace:
FreeImageAPIAssembly: 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.