Represents a base class for all image writers.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public abstract class ImageWriter : PipelineElement
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.
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); }