mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Updated documentation about png_set_compression_buffer_size().
This commit is contained in:
parent
c87ddbb3ce
commit
7569d7c069
@ -1,6 +1,6 @@
|
||||
libpng.txt - A description on how to use and modify libpng
|
||||
|
||||
libpng version 1.4.1beta01 - January 3, 2010
|
||||
libpng version 1.4.1beta01 - January 7, 2010
|
||||
Updated and distributed by Glenn Randers-Pehrson
|
||||
<glennrp at users.sourceforge.net>
|
||||
Copyright (c) 1998-2009 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.1beta01 - January 3, 2010
|
||||
libpng versions 0.97, January 1998, through 1.4.1beta01 - January 7, 2010
|
||||
Updated and distributed by Glenn Randers-Pehrson
|
||||
Copyright (c) 1998-2009 Glenn Randers-Pehrson
|
||||
|
||||
@ -260,6 +260,15 @@ libpng know that there are some bytes missing from the start of the file.
|
||||
|
||||
png_set_sig_bytes(png_ptr, number);
|
||||
|
||||
You can change the zlib compression buffer size to be used while
|
||||
reading compressed data with
|
||||
|
||||
png_set_compression_buffer_size(png_ptr, buffer_size);
|
||||
|
||||
where the default size is 8192 bytes. Note that the buffer size
|
||||
is changed immediately and the buffer is reallocated immediately,
|
||||
instead of setting a flag to be acted upon later.
|
||||
|
||||
Setting up callback code
|
||||
|
||||
You can set up a callback function to handle any unknown chunks in the
|
||||
@ -3222,7 +3231,7 @@ Other rules can be inferred by inspecting the libpng source.
|
||||
|
||||
XIII. Y2K Compliance in libpng
|
||||
|
||||
January 3, 2010
|
||||
January 7, 2010
|
||||
|
||||
Since the PNG Development group is an ad-hoc body, we can't make
|
||||
an official declaration.
|
||||
|
||||
23
libpng.3
23
libpng.3
@ -1,4 +1,4 @@
|
||||
.TH LIBPNG 3 "January 3, 2010"
|
||||
.TH LIBPNG 3 "January 7, 2010"
|
||||
.SH NAME
|
||||
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1beta01
|
||||
.SH SYNOPSIS
|
||||
@ -777,7 +777,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
|
||||
.SH LIBPNG.TXT
|
||||
libpng.txt - A description on how to use and modify libpng
|
||||
|
||||
libpng version 1.4.1beta01 - January 3, 2010
|
||||
libpng version 1.4.1beta01 - January 7, 2010
|
||||
Updated and distributed by Glenn Randers-Pehrson
|
||||
<glennrp at users.sourceforge.net>
|
||||
Copyright (c) 1998-2009 Glenn Randers-Pehrson
|
||||
@ -788,7 +788,7 @@ libpng.txt - A description on how to use and modify libpng
|
||||
|
||||
Based on:
|
||||
|
||||
libpng versions 0.97, January 1998, through 1.4.1beta01 - January 3, 2010
|
||||
libpng versions 0.97, January 1998, through 1.4.1beta01 - January 7, 2010
|
||||
Updated and distributed by Glenn Randers-Pehrson
|
||||
Copyright (c) 1998-2009 Glenn Randers-Pehrson
|
||||
|
||||
@ -1037,6 +1037,15 @@ libpng know that there are some bytes missing from the start of the file.
|
||||
|
||||
png_set_sig_bytes(png_ptr, number);
|
||||
|
||||
You can change the zlib compression buffer size to be used while
|
||||
reading compressed data with
|
||||
|
||||
png_set_compression_buffer_size(png_ptr, buffer_size);
|
||||
|
||||
where the default size is 8192 bytes. Note that the buffer size
|
||||
is changed immediately and the buffer is reallocated immediately,
|
||||
instead of setting a flag to be acted upon later.
|
||||
|
||||
.SS Setting up callback code
|
||||
|
||||
You can set up a callback function to handle any unknown chunks in the
|
||||
@ -3999,7 +4008,7 @@ Other rules can be inferred by inspecting the libpng source.
|
||||
|
||||
.SH XIII. Y2K Compliance in libpng
|
||||
|
||||
January 3, 2010
|
||||
January 7, 2010
|
||||
|
||||
Since the PNG Development group is an ad-hoc body, we can't make
|
||||
an official declaration.
|
||||
@ -4233,7 +4242,7 @@ possible without all of you.
|
||||
|
||||
Thanks to Frank J. T. Wojcik for helping with the documentation.
|
||||
|
||||
Libpng version 1.4.1beta01 - January 3, 2010:
|
||||
Libpng version 1.4.1beta01 - January 7, 2010:
|
||||
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
|
||||
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
|
||||
|
||||
@ -4256,7 +4265,7 @@ this sentence.
|
||||
|
||||
This code is released under the libpng license.
|
||||
|
||||
libpng versions 1.2.6, August 15, 2004, through 1.4.1beta01, January 3, 2010, are
|
||||
libpng versions 1.2.6, August 15, 2004, through 1.4.1beta01, January 7, 2010, 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
|
||||
@ -4355,7 +4364,7 @@ certification mark of the Open Source Initiative.
|
||||
|
||||
Glenn Randers-Pehrson
|
||||
glennrp at users.sourceforge.net
|
||||
January 3, 2010
|
||||
January 7, 2010
|
||||
|
||||
.\" end of man page
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user