Saves this FreeImageBitmap to the specified file.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public void Save(
	string filename
)
Visual Basic (Declaration)
Public Sub Save ( _
	filename As String _
)
Visual C++
public:
void Save(
	String^ filename
)

Parameters

filename
Type: System..::.String
A string that contains the name of the file to which to save this FreeImageBitmap.

Exceptions

ExceptionCondition
System..::.ArgumentException filename is null or empty.
System..::.ExceptionSaving the image failed.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also