From 83f1287c02269581b908fb039584e4826207efe4 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 17 Aug 2013 15:39:26 -0500 Subject: [PATCH] [libpng17] Mention png_set_option() in the manual. --- libpng-manual.txt | 17 ++++++++++++----- libpng.3 | 25 ++++++++++++++++--------- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/libpng-manual.txt b/libpng-manual.txt index c503ef1e2..0d03c26c6 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -1,6 +1,6 @@ libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.7.0beta17 - August 13, 2013 + libpng version 1.7.0beta17 - August 17, 2013 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.7.0beta17 - August 13, 2013 + libpng versions 0.97, January 1998, through 1.7.0beta17 - August 17, 2013 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -4775,6 +4775,9 @@ limits are now png_user_chunk_cache_max 0 (unlimited) 128 png_user_chunk_malloc_max 0 (unlimited) 8,000,000 +The png_set_option() function (and the "options" member of the png struct) was +added to libpng-1.5.15. + B. Changes to the build and configuration of libpng Details of internal changes to the library code can be found in the CHANGES @@ -5037,8 +5040,12 @@ to set the size of the sliding window for reading instead of using the default files in the wild that have incorrect CMF bytes that cause libpng to now issue a "too far back" error and reject the file. Libpng-1.6.3 provides a way to revert to the libpng-1.5.x behavior (ignoring the CMF bytes and using a -32-kbyte sliding window), and provides a tool -(contrib/tools/png-fix-too-far-back) for optimizing the CMF bytes +32-kbyte sliding window), by using + + png_set_option(png_ptr, PNG_MAXIMUM_INFLATE_WINDOW, + PNG_OPTION_ON); + +and provides a tool (contrib/tools/png-fix-too-far-back) for optimizing the CMF bytes correctly. Libpng-1.6.0 and libpng-1.6.1 wrote uncompressed iTXt chunks with the wrong @@ -5240,7 +5247,7 @@ Other rules can be inferred by inspecting the libpng source. XVII. Y2K Compliance in libpng -August 13, 2013 +August 17, 2013 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. diff --git a/libpng.3 b/libpng.3 index eede2c900..cce124f8f 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,4 +1,4 @@ -.TH LIBPNG 3 "August 13, 2013" +.TH LIBPNG 3 "August 17, 2013" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta17 .SH SYNOPSIS @@ -494,7 +494,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng. .SH LIBPNG.TXT libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.7.0beta17 - August 13, 2013 + libpng version 1.7.0beta17 - August 17, 2013 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -505,7 +505,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.7.0beta17 - August 13, 2013 + libpng versions 0.97, January 1998, through 1.7.0beta17 - August 17, 2013 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -5270,6 +5270,9 @@ limits are now png_user_chunk_cache_max 0 (unlimited) 128 png_user_chunk_malloc_max 0 (unlimited) 8,000,000 +The png_set_option() function (and the "options" member of the png struct) was +added to libpng-1.5.15. + B. Changes to the build and configuration of libpng Details of internal changes to the library code can be found in the CHANGES @@ -5532,8 +5535,12 @@ to set the size of the sliding window for reading instead of using the default files in the wild that have incorrect CMF bytes that cause libpng to now issue a "too far back" error and reject the file. Libpng-1.6.3 provides a way to revert to the libpng-1.5.x behavior (ignoring the CMF bytes and using a -32-kbyte sliding window), and provides a tool -(contrib/tools/png-fix-too-far-back) for optimizing the CMF bytes +32-kbyte sliding window), by using + + png_set_option(png_ptr, PNG_MAXIMUM_INFLATE_WINDOW, + PNG_OPTION_ON); + +and provides a tool (contrib/tools/png-fix-too-far-back) for optimizing the CMF bytes correctly. Libpng-1.6.0 and libpng-1.6.1 wrote uncompressed iTXt chunks with the wrong @@ -5735,7 +5742,7 @@ Other rules can be inferred by inspecting the libpng source. .SH XVII. Y2K Compliance in libpng -August 13, 2013 +August 17, 2013 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. @@ -6005,7 +6012,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.7.0beta17 - August 13, 2013: +Libpng version 1.7.0beta17 - August 17, 2013: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -6028,7 +6035,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.7.0beta17, August 13, 2013, are +libpng versions 1.2.6, August 15, 2004, through 1.7.0beta17, August 17, 2013, are Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors @@ -6127,7 +6134,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -August 13, 2013 +August 17, 2013 .\" end of man page