From b5c16f8bfc9d3f484509e0ad8e1febb2ac94c89c Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 3 Jul 2017 11:11:44 -0500 Subject: [PATCH] [libpng16] Added note about png_get_rowbytes() being affected by transforms --- libpng-manual.txt | 9 +++++++-- libpng.3 | 17 +++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/libpng-manual.txt b/libpng-manual.txt index 2a4dbb861..9a234e7cd 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.6.31beta01 - June 28, 2017 + libpng version 1.6.31beta01 - July 3, 2017 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2017 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.6.31beta01 - June 28, 2017 + libpng versions 0.97, January 1998, through 1.6.31beta01 - July 3, 2017 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2017 Glenn Randers-Pehrson @@ -1330,6 +1330,11 @@ in until png_read_end() has read the chunk data following the image. rowbytes = png_get_rowbytes(png_ptr, info_ptr); rowbytes - number of bytes needed to hold a row + This value, the bit_depth, color_type, + and the number of channels can change + if you use transforms such as + png_set_expand(). See + png_read_update_info(), below. signature = png_get_signature(png_ptr, info_ptr); diff --git a/libpng.3 b/libpng.3 index fa2b85823..7ebd85fb5 100644 --- a/libpng.3 +++ b/libpng.3 @@ -1,4 +1,4 @@ -.TH LIBPNG 3 "June 28, 2017" +.TH LIBPNG 3 "July 3, 2017" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.6.31beta01 .SH SYNOPSIS @@ -510,7 +510,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.6.31beta01 - June 28, 2017 + libpng version 1.6.31beta01 - July 3, 2017 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2017 Glenn Randers-Pehrson @@ -521,7 +521,7 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.6.31beta01 - June 28, 2017 + libpng versions 0.97, January 1998, through 1.6.31beta01 - July 3, 2017 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2017 Glenn Randers-Pehrson @@ -1840,6 +1840,11 @@ in until png_read_end() has read the chunk data following the image. rowbytes = png_get_rowbytes(png_ptr, info_ptr); rowbytes - number of bytes needed to hold a row + This value, the bit_depth, color_type, + and the number of channels can change + if you use transforms such as + png_set_expand(). See + png_read_update_info(), below. signature = png_get_signature(png_ptr, info_ptr); @@ -6051,7 +6056,7 @@ possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.6.31beta01 - June 28, 2017: +Libpng version 1.6.31beta01 - July 3, 2017: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -6076,7 +6081,7 @@ this sentence. This code is released under the libpng license. -libpng versions 1.0.7, July 1, 2000 through 1.6.31beta01, June 28, 2017 are +libpng versions 1.0.7, July 1, 2000 through 1.6.31beta01, July 3, 2017 are Copyright (c) 2000-2002, 2004, 2006-2017 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 @@ -6204,7 +6209,7 @@ files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). Glenn Randers-Pehrson glennrp at users.sourceforge.net -June 28, 2017 +July 3, 2017 .\" end of man page