Imported from libpng-1.0.7beta14.tar

This commit is contained in:
Glenn Randers-Pehrson
2000-05-17 17:39:34 -05:00
parent ec61c23d56
commit fc4a143ec6
42 changed files with 202 additions and 153 deletions

View File

@@ -1,6 +1,6 @@
.TH LIBPNG 3 "May 16, 2000"
.TH LIBPNG 3 "May 17, 2000"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.0.7beta13
libpng \- Portable Network Graphics (PNG) Reference Library 1.0.7beta14
.SH SYNOPSIS
\fI\fB
@@ -488,6 +488,10 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.0.7beta13
\fI\fB
\fBvoid png_set_invalid (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fImask\fP\fB);\fP
\fI\fB
\fBvoid png_set_invert_alpha (png_structp \fIpng_ptr\fP\fB);\fP
\fI\fB
@@ -743,7 +747,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.0.7beta13 - May 16, 2000
libpng version 1.0.7beta14 - May 17, 2000
Updated and distributed by Glenn Randers-Pehrson
<randeg@alum.rpi.edu>
Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson
@@ -1922,7 +1926,7 @@ When you are done, you can free all memory allocated by libpng like this:
&end_info);
It is also possible to individually free the info_ptr members that
point to libpng-allocated storage with the following functions:
point to libpng-allocated storage with the following function:
png_free_data(png_ptr, info_ptr, mask, n)
mask - identifies data to be freed, a mask
@@ -1937,7 +1941,7 @@ point to libpng-allocated storage with the following functions:
n - sequence number of item to be freed
(-1 for all items)
These functions may be safely called when the relevant storage has
This function may be safely called when the relevant storage has
already been freed, or has not yet been allocated, or was allocated
by the user and not by libpng, and will in those
cases do nothing. The "n" parameter is ignored if only one item
@@ -1982,6 +1986,23 @@ the key member, and png_free_data() will free only text_ptr.key. Similarly,
if you transfer responsibility for free'ing text_ptr from libpng to your
application, your application must not separately free those members.
The png_free_data() function will turn off the "valid" flag for anything
it frees. If you need to turn the flag off for a chunk that was freed by your
application instead of by libpng, you can use
png_set_invalid(png_ptr, info_ptr, mask);
mask - identifies the chunks to be made invalid,
containing the logical OR of one or
more of
PNG_INFO_gAMA, PNG_INFO_sBIT,
PNG_INFO_cHRM, PNG_INFO_PLTE,
PNG_INFO_tRNS, PNG_INFO_bKGD,
PNG_INFO_hIST, PNG_INFO_pHYs,
PNG_INFO_oFFs, PNG_INFO_tIME,
PNG_INFO_pCAL, PNG_INFO_sRGB,
PNG_INFO_iCCP, PNG_INFO_sPLT,
PNG_INFO_sCAL, PNG_INFO_IDAT
For a more compact example of reading a PNG image, see the file example.c.
.SS Reading PNG files progressively
@@ -2880,7 +2901,7 @@ When you are done, you can free all memory used by libpng like this:
png_destroy_write_struct(&png_ptr, &info_ptr);
It is also possible to individually free the info_ptr members that
point to libpng-allocated storage with the following functions:
point to libpng-allocated storage with the following function:
png_free_data(png_ptr, info_ptr, mask, n)
mask - identifies data to be freed, a mask
@@ -2895,7 +2916,7 @@ point to libpng-allocated storage with the following functions:
n - sequence number of item to be freed
(-1 for all items)
These functions may be safely called when the relevant storage has
This function may be safely called when the relevant storage has
already been freed, or has not yet been allocated, or was allocated
by the user and not by libpng, and will in those
cases do nothing. The "n" parameter is ignored if only one item
@@ -3356,13 +3377,13 @@ application:
.SH VII. Y2K Compliance in libpng
May 16, 2000
May 17, 2000
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.0.7beta13 are Y2K compliant. It is my belief that earlier
upward through 1.0.7beta14 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
@@ -3503,7 +3524,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.0.7beta13 - May 16, 2000:
Libpng version 1.0.7beta14 - May 17, 2000:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (randeg@alum.rpi.edu).
@@ -3518,7 +3539,7 @@ Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
Copyright (c) 1996, 1997 Andreas Dilger
(libpng versions 0.89c, May 1996, through 0.96, May 1997)
Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson
(libpng versions 0.97, January 1998, through 1.0.7beta13, May 16, 2000)
(libpng versions 0.97, January 1998, through 1.0.7beta14, May 17, 2000)
For the purposes of this copyright and license, "Contributing Authors"
is defined as the following set of individuals: