FreeImage.OpenMultiBitmapFromStream Method (Stream, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS)

FreeImage.NET

FreeImageOpenMultiBitmapFromStream Method (Stream, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS)
Loads a FreeImage multi-paged bitmap. In case the loading format is FIF_UNKNOWN the files real format is being analysed. If no plugin can read the file, format remains FIF_UNKNOWN and 0 is returned. 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 FIMULTIBITMAP OpenMultiBitmapFromStream(
	Stream stream,
	ref FREE_IMAGE_FORMAT format,
	FREE_IMAGE_LOAD_FLAGS flags
)

Parameters

stream
Type: System.IOStream
The stream to load the bitmap from.
format
Type: FreeImageAPIFREE_IMAGE_FORMAT
Format of the image. If the format is unknown use FIF_UNKNOWN
flags
Type: FreeImageAPIFREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.

Return Value

Type: FIMULTIBITMAP
Handle to a FreeImage multi-paged bitmap.
See Also