Rotates and/or flips the image and writes the result to the specified file.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void WriteRotated( string fileName, RotateFlipType transform )
Type: System.String
The name of the file to save the result.Type: System.Drawing.RotateFlipType
A RotateFlipType specifying how much an image is rotated and the axis used to flip the image.using (var losslessJpeg = new LosslessJpeg(@"Images\in.jpg")) { losslessJpeg.WriteRotated(@"Images\Output\out.jpg", System.Drawing.RotateFlipType.Rotate90FlipNone); }
using (var losslessJpeg = new LosslessJpeg(@"Images\in.jpg")) { losslessJpeg.WriteRotated(@"Images\out.jpg", System.Drawing.RotateFlipType.RotateNoneFlipX); }