diff --git a/ANNOUNCE b/ANNOUNCE index 0e75c170f..be141ed4f 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.7.0beta80 - March 9, 2016 +Libpng 1.7.0beta80 - May 5, 2016 This is not intended to be a public release. It will be replaced within a few weeks by a public version or by another test version. @@ -1264,7 +1264,25 @@ Version 1.7.0beta79 [March 9, 2016] (Robert C. Seacord). Various other flags in png.h made unsigned as well. Fixed some misleading indentation (Krishnaraj Bhat). -Version 1.7.0beta80 [March 9, 2016] +Version 1.7.0beta80 [May 5, 2016] + Fixed typo (missing underscore) in #define PNG_READ_16_TO_8_SUPPORTED + Bug report by (Y.Ohashik). + Write code update (John Bowler): + Implemented better defaulting of zlib settings based on image properties. + Replaced pngtest.png with one compressed with the new zlib settings. + Implemented pass-through of png_write_rows when the rows can be used + directly (a common case) optimizing the handling of previous-row + buffering. + Removed the METHODICAL filter selection method and disabled the HEURISTIC + one. The first was ridiculously slow (though useful for experiments), + and the second didn't work. Filter selection is temporarily disabled (it + defaults to the lowest numbered filter in the list; typically 'none'). + New handling of compression settings (incomplete), new PNG compression level + (not yet visible in an API). + Back ported 'PNG_FAST_FILTERS' from 1.6 (in png.h). + There are minimal API changes beyond removal of the selection options. + Work is still to be done to investigate a filter selection mechanism that + is at least as good as the previous one. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 64013c68f..95c5496e3 100644 --- a/CHANGES +++ b/CHANGES @@ -5564,7 +5564,25 @@ Version 1.7.0beta79 [March 9, 2016] (Robert C. Seacord). Various other flags in png.h made unsigned as well. Fixed some misleading indentation (Krishnaraj Bhat). -Version 1.7.0beta80 [March 9, 2016] +Version 1.7.0beta80 [May 5, 2016] + Fixed typo (missing underscore) in #define PNG_READ_16_TO_8_SUPPORTED + Bug report by (Y.Ohashik). + Write code update (John Bowler): + Implemented better defaulting of zlib settings based on image properties. + Replaced pngtest.png with one compressed with the new zlib settings. + Implemented pass-through of png_write_rows when the rows can be used + directly (a common case) optimizing the handling of previous-row + buffering. + Removed the METHODICAL filter selection method and disabled the HEURISTIC + one. The first was ridiculously slow (though useful for experiments), + and the second didn't work. Filter selection is temporarily disabled (it + defaults to the lowest numbered filter in the list; typically 'none'). + New handling of compression settings (incomplete), new PNG compression level + (not yet visible in an API). + Back ported 'PNG_FAST_FILTERS' from 1.6 (in png.h). + There are minimal API changes beyond removal of the selection options. + Work is still to be done to investigate a filter selection mechanism that + is at least as good as the previous one. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/png.h b/png.h index b01ca51da..e0586998c 100644 --- a/png.h +++ b/png.h @@ -1,7 +1,7 @@ /* png.h - header file for PNG reference library * - * libpng version 1.7.0beta80, March 9, 2016 + * libpng version 1.7.0beta80, May 5, 2016 * * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -12,7 +12,7 @@ * Authors and maintainers: * libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger - * libpng versions 0.97, January 1998, through 1.7.0beta80, March 9, 2016: + * libpng versions 0.97, January 1998, through 1.7.0beta80, May 5, 2016: * Glenn Randers-Pehrson. * See also "Contributing Authors", below. */ @@ -25,7 +25,7 @@ * * This code is released under the libpng license. * - * libpng versions 1.0.7, July 1, 2000, through 1.7.0beta80, March 9, 2016, are + * libpng versions 1.0.7, July 1, 2000, through 1.7.0beta80, May 5, 2016, are * Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are * derived from libpng-1.0.6, and are distributed according to the same * disclaimer and license as libpng-1.0.6 with the following individuals @@ -218,7 +218,7 @@ * Y2K compliance in libpng: * ========================= * - * March 9, 2016 + * May 5, 2016 * * Since the PNG Development group is an ad-hoc body, we can't make * an official declaration. @@ -288,7 +288,7 @@ /* Version information for png.h - this should match the version in png.c */ #define PNG_LIBPNG_VER_STRING "1.7.0beta80" #define PNG_HEADER_VERSION_STRING \ - " libpng version 1.7.0beta80 - March 9, 2016\n" + " libpng version 1.7.0beta80 - May 5, 2016\n" #define PNG_LIBPNG_VER_SONUM 17 #define PNG_LIBPNG_VER_DLLNUM 17 @@ -1533,7 +1533,7 @@ PNG_EXPORT(229, void, png_set_scale_16, (png_structrp png_ptr)); #endif #ifdef PNG_READ_STRIP_16_TO_8_SUPPORTED -#define PNG_READ_16_TO_8 SUPPORTED /* Name prior to 1.5.4 */ +#define PNG_READ_16_TO_8_SUPPORTED /* Name prior to 1.5.4 */ /* Strip the second byte of information from a 16-bit depth file. */ PNG_EXPORT(48, void, png_set_strip_16, (png_structrp png_ptr)); #endif diff --git a/pngconf.h b/pngconf.h index 8702e1246..303eecd57 100644 --- a/pngconf.h +++ b/pngconf.h @@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.7.0beta80, March 9, 2016 + * libpng version 1.7.0beta80, May 5, 2016 * * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/pngwutil.c b/pngwutil.c index f7c650d3f..93054b117 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -3341,7 +3341,7 @@ huffman_metric(png_byte prefix, png_const_bytep data, size_t length) * Huffman code length limit of 15, so any symbol must occupy at least * 1/32768 of the code space. Zlib also shows some unexpected behavior with * window size increases; data compression can decrease, leading me (JB - * 20160202) to hypothesise that the addition of extra, infrequently used, + * 20160202) to hypothesize that the addition of extra, infrequently used, * zlib length codes damages the overall compression by reducing the * efficiency of the Huffman coding. *