FreeImageBitmap.SaveAdd Method (String, Int32, FREE_IMAGE_FORMAT, FREE_IMAGE_LOAD_FLAGS, FREE_IMAGE_SAVE_FLAGS)

FreeImage.NET

FreeImageBitmapSaveAdd Method (String, Int32, 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)
Syntax
C#
public void SaveAdd(
	string filename,
	int insertPosition,
	FREE_IMAGE_FORMAT format,
	FREE_IMAGE_LOAD_FLAGS loadFlags,
	FREE_IMAGE_SAVE_FLAGS saveFlags
)

Parameters

filename
Type: SystemString
File to add this frame to.
insertPosition
Type: SystemInt32
The position at which the frame should be inserted.
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
ExceptionCondition
ArgumentNullExceptionfilename is a null reference.
FileNotFoundExceptionfilename does not exist.
ExceptionSaving the image has failed.
ArgumentOutOfRangeExceptioninsertPosition is out of range.
See Also