Bitmap.Save Method (String)

Saves this bitmap to the specified file.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

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 Bitmap.

Remarks

This method analyzes a file extension to determine the file format to save bitmap to. If an extention is unknown, this method fails (exception is thrown).

>

Using this method is the same as creating an appropriate writer derived from the ImageWriter class and running it in synchronous mode.

Examples

C#
bitmap.Save(@"Images\Output\out.jpg");

See Also

Reference