Saves a previously loaded FreeImage bitmap to a file.
The format is taken off the filename.
If no suitable format was found false will be returned.
Namespace:
FreeImageAPI
Assembly:
FreeImageNET (in FreeImageNET.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function SaveEx ( _
dib As FIBITMAP, _
filename As String _
) As Boolean |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- filename
- Type: System..::.String
The complete name of the file to save to.
The extension will be corrected if it is no valid extension for the
selected format or if no extension was specified.
Return Value
Returns true on success, false on failure.
Exceptions
Version Information
FreeImage.NET
Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1
See Also