Gets a collection of pipeline elements that will receive the result of this PipelineElement.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public IList<PipelineElement> Receivers { get; }
The following code shows how to create two 128x128 and 2048x2048 thumbnails for a single image.
using (var reader = ImageReader.Create(@"Images\in.jpg")) { var resizeBig = new Pipeline() { new Resize(2048, 0), ImageWriter.Create(@"Images\Output\out_2048.jpg") }; var resizeSmall = new Pipeline() { new Resize(128, 0), ImageWriter.Create(@"Images\Output\out_128.jpg") }; reader.Receivers.Add(resizeBig.Build()); reader.Receivers.Add(resizeSmall.Build()); Pipeline.Run(reader); resizeBig.DisposeAllElements(); resizeSmall.DisposeAllElements(); }