FreeImage.NET Class Library Reference
![]() | FreeImageBitmap Conversion (Bitmap to FreeImageBitmap) |
Converts a Bitmap instance to a FreeImageBitmap instance.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)

C#
public static explicit operator FreeImageBitmap ( Bitmap value )
Parameters
- value
- Type: System.DrawingBitmap
A Bitmap instance.
Return Value
Type: FreeImageBitmapA new instance of FreeImageBitmap initialized to value.

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