diff options
-rw-r--r-- | pngcrush.c | 10 | ||||
-rw-r--r-- | pngcrush.h | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/pngcrush.c b/pngcrush.c index 371927f5e..69ea51409 100644 --- a/pngcrush.c +++ b/pngcrush.c @@ -308,6 +308,8 @@ Change log: +Version 1.7.81 (built with libpng-1.6.14 and zlib-1.2.8) + Version 1.7.80 (built with libpng-1.6.14 and zlib-1.2.8) Added "-reduce_palette" and "-noreduce_palette" options. Enable reduce_palette when the "-new" or "-reduce" option is used. @@ -3521,11 +3523,11 @@ int main(int argc, char *argv[]) else if (!strncmp(argv[i], "-new", 4)) { - global_things_have_changed = 1; /* -force */ + global_things_have_changed = 1; /* -force */ make_opaque = 1; /* -reduce */ make_gray = 1; /* -reduce */ make_8_bit = 1; /* -reduce */ - reduce_palette = 1; + reduce_palette = 1; /* -reduce */ } else if (!strncmp(argv[i], "-nobail", 7)) @@ -3574,11 +3576,11 @@ int main(int argc, char *argv[]) else if (!strncmp(argv[i], "-old", 4)) { - global_things_have_changed = 0; /* no -force */ + global_things_have_changed = 0; /* no -force */ make_opaque = 0; /* no -reduce */ make_gray = 0; /* no -reduce */ make_8_bit = 0; /* no -reduce */ - reduce_palette = 0; + reduce_palette = 0; /* no -reduce */ } else if(!strncmp(argv[i], "-ow",3)) diff --git a/pngcrush.h b/pngcrush.h index 568199a3e..feaa0890f 100644 --- a/pngcrush.h +++ b/pngcrush.h @@ -5,7 +5,7 @@ * license (see LICENSE, in pngcrush.c). */ -/* Special defines for pngcrush version 1.7.79 */ +/* Special defines for pngcrush version 1.7.80 */ #ifndef PNGCRUSH_H #define PNGCRUSH_H |