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:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIMULTIBITMAP OpenMultiBitmapFromStream( Stream stream, ref FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS flags ) |
Visual Basic (Declaration) |
---|
Public Shared Function OpenMultiBitmapFromStream ( _ stream As Stream, _ ByRef format As FREE_IMAGE_FORMAT, _ flags As FREE_IMAGE_LOAD_FLAGS _ ) As FIMULTIBITMAP |
Visual C++ |
---|
public: static FIMULTIBITMAP OpenMultiBitmapFromStream( Stream^ stream, FREE_IMAGE_FORMAT% format, FREE_IMAGE_LOAD_FLAGS flags ) |
Parameters
- stream
- Type: System.IO..::.Stream
The stream to load the bitmap from.
- format
- Type:
FreeImageAPI..::.FREE_IMAGE_FORMAT
%
Format of the image. If the format is unknown use FIF_UNKNOWN
- flags
- Type: FreeImageAPI..::.FREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.