Creates an appropriate image reader on the specified file.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static ImageReader Create( string fileName )
Type: System.String
The name of the file to read from.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); }