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

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

Syntax

C#
public static FIMULTIBITMAP OpenMultiBitmap(
	FREE_IMAGE_FORMAT fif,
	string filename,
	bool create_new,
	bool read_only,
	bool keep_cache_in_memory,
	FREE_IMAGE_LOAD_FLAGS flags
)
Visual Basic (Declaration)
Public Shared Function OpenMultiBitmap ( _
	fif As FREE_IMAGE_FORMAT, _
	filename As String, _
	create_new As Boolean, _
	read_only As Boolean, _
	keep_cache_in_memory As Boolean, _
	flags As FREE_IMAGE_LOAD_FLAGS _
) As FIMULTIBITMAP
Visual C++
public:
static FIMULTIBITMAP OpenMultiBitmap(
	FREE_IMAGE_FORMAT fif, 
	String^ filename, 
	bool create_new, 
	bool read_only, 
	bool keep_cache_in_memory, 
	FREE_IMAGE_LOAD_FLAGS flags
)

Parameters

fif
Type: FreeImageAPI..::.FREE_IMAGE_FORMAT
Format of the image.
filename
Type: System..::.String
The complete name of the file to load.
create_new
Type: System..::.Boolean
When true a new bitmap is created.
read_only
Type: System..::.Boolean
When true the bitmap will be loaded read only.
keep_cache_in_memory
Type: System..::.Boolean
When true performance is increased at the cost of memory.
flags
Type: FreeImageAPI..::.FREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.

Return Value

Handle to a FreeImage multi-paged bitmap.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also