FreeImage.LoadEx Method (String, FREE_IMAGE_LOAD_FLAGS)

FreeImage.NET

FreeImageLoadEx Method (String, FREE_IMAGE_LOAD_FLAGS)
Loads a FreeImage bitmap. Load flags can be provided by the flags parameter.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP LoadEx(
	string filename,
	FREE_IMAGE_LOAD_FLAGS flags
)

Parameters

filename
Type: SystemString
The complete name of the file to load.
flags
Type: FreeImageAPIFREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
Exceptions
ExceptionCondition
FileNotFoundExceptionfilename does not exists.
See Also