[gegl] Change default PNG compression level to 3



commit 3d5cc13645dbcecbcdcbb9754a03466ab7acf70c
Author: Mukund Sivaraman <muks banu com>
Date:   Sat Mar 26 18:09:36 2011 +0530

    Change default PNG compression level to 3
    
    A compression level of 9 with large natural images such as
    those GEGL processes consumes a *lot* of CPU time with
    little benefit. Most of the wait time is then the PNG save time.
    Those who want that extra mileage can specify the compression
    level or use a utility such as pngcrush.

 operations/external/png-save.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/png-save.c b/operations/external/png-save.c
index 432d3b0..1597846 100644
--- a/operations/external/png-save.c
+++ b/operations/external/png-save.c
@@ -26,7 +26,7 @@
 gegl_chant_string (path, _("File"), "",
                    _("Target path and filename, use '-' for stdout."))
 gegl_chant_int    (compression, _("Compression"),
-                   1, 9, 1, _("PNG compression level from 1 to 9"))
+                   1, 3, 1, _("PNG compression level from 1 to 9"))
 gegl_chant_int    (bitdepth, _("Bitdepth"),
                    8, 16, 16, _("8 and 16 are amongst the currently accepted values."))
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]