ImageWriter Class

Represents a base class for all image writers.

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

Syntax

C#
public abstract class ImageWriter : PipelineElement

Remarks

This class is derived by all image writers. It allows creating a writer on a file or stream with appropriate overload of Create() method. To check whether the writer is opened, use IsOpened property.

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);
}

Inheritance Hierarchy

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also

Reference

Manual