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