[devel] Add synopsis for png_set_chop_16() to manual

and fix some other small typos.
This commit is contained in:
Glenn Randers-Pehrson 2011-06-15 08:10:13 -05:00
parent cd3b0cc4d9
commit 140504b11a
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.5.4beta03 - June 15, 2011
Libpng 1.5.4beta03 - June 14, 2011
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.

View File

@ -540,6 +540,10 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.5.4beta03
\fI\fB
\fBvoid png_set_chop_16 (png_structp \fIpng_ptr\fP\fB);\fP
\fI\fB
\fBvoid png_set_cHRM (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, double \fP\fIwhite_x\fP\fB, double \fP\fIwhite_y\fP\fB, double \fP\fIred_x\fP\fB, double \fP\fIred_y\fP\fB, double \fP\fIgreen_x\fP\fB, double \fP\fIgreen_y\fP\fB, double \fP\fIblue_x\fP\fB, double \fIblue_y\fP\fB);\fP
\fI\fB
@ -672,10 +676,6 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.5.4beta03
\fI\fB
\fBvoid png_set_strip_16 (png_structp \fIpng_ptr\fP\fB);\fP
\fI\fB
\fBvoid png_set_chunk_malloc_max (png_structp \fP\fIpng_ptr\fP\fB, png_alloc_size_t \fIuser_chunk_cache_max\fP\fB);\fP
\fI\fB

2
png.h
View File

@ -598,7 +598,7 @@ typedef png_sPLT_t FAR * FAR * png_sPLT_tpp;
* and whether that contents is compressed or not. The "key" field
* points to a regular zero-terminated C string. The "text", "lang", and
* "lang_key" fields can be regular C strings, empty strings, or NULL pointers.
* However, the * structure returned by png_get_text() will always contain
* However, the structure returned by png_get_text() will always contain
* regular zero-terminated C strings (possibly empty), never NULL pointers,
* so they can be safely used in printf() and other string-handling functions.
*/

View File

@ -1,7 +1,7 @@
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.5.1 [February 3, 2011]
* Last changed in libpng 1.5.4 [(PENDING RELEASE)]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)