Saves a previosly loaded FIBITMAP to a file.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool Save( FREE_IMAGE_FORMAT fif, FIBITMAP dib, string filename, FREE_IMAGE_SAVE_FLAGS flags ) |
Visual Basic (Declaration) |
---|
Public Shared Function Save ( _ fif As FREE_IMAGE_FORMAT, _ dib As FIBITMAP, _ filename As String, _ flags As FREE_IMAGE_SAVE_FLAGS _ ) As Boolean |
Visual C++ |
---|
public: static bool Save( FREE_IMAGE_FORMAT fif, FIBITMAP dib, String^ filename, FREE_IMAGE_SAVE_FLAGS flags ) |
Parameters
- fif
- Type: FreeImageAPI..::.FREE_IMAGE_FORMAT
Type of the bitmap.
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- filename
- Type: System..::.String
Name of the file to save to.
- flags
- Type: FreeImageAPI..::.FREE_IMAGE_SAVE_FLAGS
Flags to enable or disable plugin-features.