ImageWriter.Create Method (String)

Creates and returns image writer on the specified file.

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

Syntax

C#
public static ImageWriter Create(
	string fileName
)

Parameters

fileName

Type: System.String

The name of the file to write to.

Return Value

The ImageWriter class instance.

Examples

C#
using (var reader = ImageReader.Create(@"Images\in.jpg"))
using (var rotate = new Rotate(90))
using (var writer = ImageWriter.Create(@"Images\Output\out.jpg"))
{
    Pipeline.Run(reader + rotate + writer);
}

See Also

Reference