Decodes a bitmap from a stream, allocates memory for it and returns it as a FIBITMAP.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP LoadFromMemory( FREE_IMAGE_FORMAT fif, FIMEMORY stream, FREE_IMAGE_LOAD_FLAGS flags ) |
Visual Basic (Declaration) |
---|
Public Shared Function LoadFromMemory ( _ fif As FREE_IMAGE_FORMAT, _ stream As FIMEMORY, _ flags As FREE_IMAGE_LOAD_FLAGS _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP LoadFromMemory( FREE_IMAGE_FORMAT fif, FIMEMORY stream, FREE_IMAGE_LOAD_FLAGS flags ) |
Parameters
- fif
- Type: FreeImageAPI..::.FREE_IMAGE_FORMAT
Type of the bitmap.
- stream
- Type: FreeImageAPI..::.FIMEMORY
Handle to a memory stream.
- flags
- Type: FreeImageAPI..::.FREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.