diff --git a/Program.cs b/Program.cs index 2fc8b55..57e8702 100644 --- a/Program.cs +++ b/Program.cs @@ -222,6 +222,7 @@ public class Photo { } public void SaveAsJpeg(string outputRoot, JpegEncoder encoder) { + // FIXME: if nothing was changed about this image, just copy the file bytes directly, possibly with metadata changed? string directory = System.IO.Path.Combine( outputRoot, String.Format("{0:D4}", DateTimeOriginal.Year), @@ -886,7 +887,7 @@ public class Game : GameWindow { // To find the JPEG compression level of a file from the command line: // $ identify -verbose image.jpg | grep Quality: private void ExportPhotos() { - JpegEncoder encoder = new JpegEncoder() { Quality = 98 }; + JpegEncoder encoder = new JpegEncoder() { Quality = 100 }; string outputRoot = @"c:\users\colin\desktop\totte-output"; foreach (Photo p in photos) { p.SaveAsJpeg(outputRoot, encoder);