From 3926448598a0b02aa9ed4905f98c9baa4e325265 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sun, 3 Apr 2011 11:34:40 -0500 Subject: [PATCH] [devel] Fixed a typo in the manual about dithering --- libpng-1.4.6rc01.txt | 13 +++++++------ libpng.3 | 23 ++++++++++++----------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/libpng-1.4.6rc01.txt b/libpng-1.4.6rc01.txt index a8166fa66..73c8c5658 100644 --- a/libpng-1.4.6rc01.txt +++ b/libpng-1.4.6rc01.txt @@ -1,6 +1,6 @@ libpng.txt - A description on how to use and modify libpng - libpng version 1.4.6rc01 - March 31, 2011 + libpng version 1.4.6rc02 - April 3, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2010 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.4.6rc01 - March 31, 2011 + libpng versions 0.97, January 1998, through 1.4.6rc02 - April 3, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2010 Glenn Randers-Pehrson @@ -905,7 +905,7 @@ things. As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was added. It expands the sample depth without changing tRNS to alpha. -As of libpng version 1.4.6rc01, not all possible expansions are supported. +As of libpng version 1.4.6rc02, not all possible expansions are supported. In the following table, the 01 means grayscale with depth<8, 31 means indexed with depth<8, other numerals represent the color type, "T" means @@ -3157,7 +3157,8 @@ The png_zalloc() function no longer zeroes out the memory that it allocates. Support for dithering was disabled by default in libpng-1.4.0, because -been well tested and doesn't actually "dither". The code was not +it has not been well tested and doesn't actually "dither". +The code was not removed, however, and could be enabled by building libpng with PNG_READ_DITHER_SUPPORTED defined. In libpng-1.4.2, this support was reenabled, but the function was renamed png_set_quantize() to @@ -3306,13 +3307,13 @@ Other rules can be inferred by inspecting the libpng source. XIII. Y2K Compliance in libpng -March 31, 2011 +April 3, 2011 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.4.6rc01 are Y2K compliant. It is my belief that earlier +upward through 1.4.6rc02 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that diff --git a/libpng.3 b/libpng.3 index 82da1743c..cceabb071 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,6 +1,6 @@ -.TH LIBPNG 3 "March 31, 2011" +.TH LIBPNG 3 "April 3, 2011" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.4.6rc01 +libpng \- Portable Network Graphics (PNG) Reference Library 1.4.6rc02 .SH SYNOPSIS \fI\fB @@ -895,7 +895,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng. .SH LIBPNG.TXT libpng.txt - A description on how to use and modify libpng - libpng version 1.4.6rc01 - March 31, 2011 + libpng version 1.4.6rc02 - April 3, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2010 Glenn Randers-Pehrson @@ -906,7 +906,7 @@ libpng.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.4.6rc01 - March 31, 2011 + libpng versions 0.97, January 1998, through 1.4.6rc02 - April 3, 2011 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2010 Glenn Randers-Pehrson @@ -1800,7 +1800,7 @@ things. As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was added. It expands the sample depth without changing tRNS to alpha. -As of libpng version 1.4.6rc01, not all possible expansions are supported. +As of libpng version 1.4.6rc02, not all possible expansions are supported. In the following table, the 01 means grayscale with depth<8, 31 means indexed with depth<8, other numerals represent the color type, "T" means @@ -4052,7 +4052,8 @@ The png_zalloc() function no longer zeroes out the memory that it allocates. Support for dithering was disabled by default in libpng-1.4.0, because -been well tested and doesn't actually "dither". The code was not +it has not been well tested and doesn't actually "dither". +The code was not removed, however, and could be enabled by building libpng with PNG_READ_DITHER_SUPPORTED defined. In libpng-1.4.2, this support was reenabled, but the function was renamed png_set_quantize() to @@ -4201,13 +4202,13 @@ Other rules can be inferred by inspecting the libpng source. .SH XIII. Y2K Compliance in libpng -March 31, 2011 +April 3, 2011 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.4.6rc01 are Y2K compliant. It is my belief that earlier +upward through 1.4.6rc02 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that @@ -4456,7 +4457,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.4.6rc01 - March 31, 2011: +Libpng version 1.4.6rc02 - April 3, 2011: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -4479,7 +4480,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.4.6rc01, March 31, 2011, are +libpng versions 1.2.6, August 15, 2004, through 1.4.6rc02, April 3, 2011, 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 @@ -4578,7 +4579,7 @@ certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net -March 31, 2011 +April 3, 2011 .\" end of man page