Bitmap.Save Method (String, WriterSettings)

Saves this bitmap to the specified file using the provided settings.

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

Syntax

C#
public void Save(
	string fileName,
	WriterSettings settings
)

Parameters

fileName

Type: System.String

A string that contains the name of the file to which to save this Bitmap.
settings

Type: Aurigma.GraphicsMill.Codecs.WriterSettings

Remarks

This method determines an output file format from the WriterSettings (regardless to the file extension).

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

Examples

C#
bitmap.Save(@"Images\Output\out.jpg", new JpegSettings(70));

See Also

Reference