Loads a FreeImage bitmap. Load flags can be provided by the flags parameter.

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

Syntax

C#
public static FIBITMAP LoadEx(
	string filename,
	FREE_IMAGE_LOAD_FLAGS flags
)
Visual Basic (Declaration)
Public Shared Function LoadEx ( _
	filename As String, _
	flags As FREE_IMAGE_LOAD_FLAGS _
) As FIBITMAP
Visual C++
public:
static FIBITMAP LoadEx(
	String^ filename, 
	FREE_IMAGE_LOAD_FLAGS flags
)

Parameters

filename
Type: System..::.String
The complete name of the file to load.
flags
Type: FreeImageAPI..::.FREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.

Return Value

Handle to a FreeImage bitmap.

Exceptions

ExceptionCondition
System.IO..::.FileNotFoundException filename does not exists.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also