Example #1
0
        private static void ApplyGrayscale(string path, string newPath)
        {
            var photo = PhotoEditor.ToGrayscale(path);

            photo.Save(newPath, System.Drawing.Imaging.ImageFormat.Jpeg);
            photo.Dispose();
        }
Example #2
0
        private static void ApplyAutocontrast(string path, string newPath)
        {
            var photo = PhotoEditor.ApplyContrast(path, 20);

            photo.Save(newPath, System.Drawing.Imaging.ImageFormat.Jpeg);
            photo.Dispose();
        }