FreeImage.NET Class Library Reference
![]() | FreeImageBitmapSaveAdd Method (String, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS, FREE_IMAGE_SAVE_FLAGS) |
Adds a frame to the file specified using the specified parameters.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
SyntaxC#
public void SaveAdd( string filename, FREE_IMAGE_FORMAT format, FREE_IMAGE_LOAD_FLAGS loadFlags, FREE_IMAGE_SAVE_FLAGS saveFlags )
Parameters
- filename
- Type: SystemString
File to add this frame to. - format
- Type: FreeImageAPIFREE_IMAGE_FORMAT
Format of the image. - loadFlags
- Type: FreeImageAPIFREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features. - saveFlags
- Type: FreeImageAPIFREE_IMAGE_SAVE_FLAGS
Flags to enable or disable plugin-features.
Exceptions| Exception | Condition |
|---|---|
| ArgumentNullException | filename is a null reference. |
| FileNotFoundException | filename does not exist. |
| Exception | Saving the image has failed. |
See Also