Decodes a bitmap, allocates memory for it and returns it as a FIBITMAP.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP Load( FREE_IMAGE_FORMAT fif, string filename, FREE_IMAGE_LOAD_FLAGS flags ) |
Visual Basic (Declaration) |
---|
Public Shared Function Load ( _ fif As FREE_IMAGE_FORMAT, _ filename As String, _ flags As FREE_IMAGE_LOAD_FLAGS _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP Load( FREE_IMAGE_FORMAT fif, String^ filename, FREE_IMAGE_LOAD_FLAGS flags ) |
Parameters
- fif
- Type: FreeImageAPI..::.FREE_IMAGE_FORMAT
Type of the bitmap.
- filename
- Type: System..::.String
Name of the file to decode.
- flags
- Type: FreeImageAPI..::.FREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.