From 4a5a1ec0b48a3c4d5a714f1c083d12ff9e9e9ec1 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 15 Jan 2011 11:43:28 -0600 Subject: [PATCH] [devel] Updated documentation of png_set_iCCP(). --- ANNOUNCE | 2 +- CHANGES | 2 +- libpng-manual.txt | 36 ++++++++++++++++++------------------ libpng.3 | 38 +++++++++++++++++++------------------- 4 files changed, 39 insertions(+), 39 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index eaac2eba3..91723325e 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -43,7 +43,7 @@ Version 1.5.1beta03 [January 14, 2011] Fixed typecasting of some png_debug() statements (Cosmin) Version 1.5.1beta04 [January 15, 2011] - Updated documentation of png_set|get_tRNS(). + Updated documentation of png_set|get_tRNS() (Thomas Klausner). Send comments/corrections/commendations to png-mng-implement at lists.sf.net: (subscription required; visit diff --git a/CHANGES b/CHANGES index 869c88d10..1381acd49 100644 --- a/CHANGES +++ b/CHANGES @@ -3159,7 +3159,7 @@ Version 1.5.1beta03 [January 14, 2011] Fixed typecasting of some png_debug() statements (Cosmin) Version 1.5.1beta04 [January 15, 2011] - Updated documentation of png_set|get_tRNS(). + Updated documentation of png_set|get_tRNS() (Thomas Klausner). Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/libpng-manual.txt b/libpng-manual.txt index 70154e0be..ff5d16dbd 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -830,14 +830,14 @@ pointer into the info_ptr is returned for any complex types. png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &profile, &proflen); - name - The profile name. - compression - The compression type; always - PNG_COMPRESSION_TYPE_BASE for PNG 1.0. - You may give NULL to this argument to - ignore it. - profile - International Color Consortium color - profile data. May contain NULs. - proflen - length of profile data in bytes. + name - The profile name. + compression_type - The compression type; always + PNG_COMPRESSION_TYPE_BASE for PNG 1.0. + You may give NULL to this argument to + ignore it. + profile - International Color Consortium color + profile data. May contain NULs. + proflen - length of profile data in bytes. png_get_sBIT(png_ptr, info_ptr, &sig_bit); sig_bit - the number of significant bits for @@ -2197,15 +2197,15 @@ width, height, bit_depth, and color_type must be the same in each call. written. png_set_iCCP(png_ptr, info_ptr, name, compression_type, - profile, proflen); - name - The profile name. - compression - The compression type; always - PNG_COMPRESSION_TYPE_BASE for PNG 1.0. - You may give NULL to this argument to - ignore it. - profile - International Color Consortium color - profile data. May contain NULs. - proflen - length of profile data in bytes. + profile, proflen); + name - The profile name. + compression_type - The compression type; always + PNG_COMPRESSION_TYPE_BASE for PNG 1.0. + You may give NULL to this argument to + ignore it. + profile - International Color Consortium color + profile data. May contain NULs. + proflen - length of profile data in bytes. png_set_sBIT(png_ptr, info_ptr, sig_bit); sig_bit - the number of significant bits for @@ -3461,7 +3461,7 @@ in earlier versions of libpng, has been completely removed from libpng 1.5. In png_get_iCCP, the type of "profile" was changed from png_charpp -to png_bytepp, and in png_set_iCCP, to const_png_bytepp. +to png_bytepp, and in png_set_iCCP, from png_charp to png_const_bytepp. There are changes of form in png.h, including new and changed macros to declare diff --git a/libpng.3 b/libpng.3 index f30d3b12e..7e2fa4019 100644 --- a/libpng.3 +++ b/libpng.3 @@ -558,7 +558,7 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.5.1beta04 \fI\fB -\fBvoid png_set_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charp \fP\fIname\fP\fB, int \fP\fIcompression_type\fP\fB, png_const_bytepp \fP\fIprofile\fP\fB, png_uint_32 \fIproflen\fP\fB);\fP +\fBvoid png_set_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_const_charp \fP\fIname\fP\fB, int \fP\fIcompression_type\fP\fB, png_const_bytep \fP\fIprofile\fP\fB, png_uint_32 \fIproflen\fP\fB);\fP \fI\fB @@ -1681,14 +1681,14 @@ pointer into the info_ptr is returned for any complex types. png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &profile, &proflen); - name - The profile name. - compression - The compression type; always - PNG_COMPRESSION_TYPE_BASE for PNG 1.0. - You may give NULL to this argument to - ignore it. - profile - International Color Consortium color - profile data. May contain NULs. - proflen - length of profile data in bytes. + name - The profile name. + compression_type - The compression type; always + PNG_COMPRESSION_TYPE_BASE for PNG 1.0. + You may give NULL to this argument to + ignore it. + profile - International Color Consortium color + profile data. May contain NULs. + proflen - length of profile data in bytes. png_get_sBIT(png_ptr, info_ptr, &sig_bit); sig_bit - the number of significant bits for @@ -3048,15 +3048,15 @@ width, height, bit_depth, and color_type must be the same in each call. written. png_set_iCCP(png_ptr, info_ptr, name, compression_type, - profile, proflen); - name - The profile name. - compression - The compression type; always - PNG_COMPRESSION_TYPE_BASE for PNG 1.0. - You may give NULL to this argument to - ignore it. - profile - International Color Consortium color - profile data. May contain NULs. - proflen - length of profile data in bytes. + profile, proflen); + name - The profile name. + compression_type - The compression type; always + PNG_COMPRESSION_TYPE_BASE for PNG 1.0. + You may give NULL to this argument to + ignore it. + profile - International Color Consortium color + profile data. May contain NULs. + proflen - length of profile data in bytes. png_set_sBIT(png_ptr, info_ptr, sig_bit); sig_bit - the number of significant bits for @@ -4312,7 +4312,7 @@ in earlier versions of libpng, has been completely removed from libpng 1.5. In png_get_iCCP, the type of "profile" was changed from png_charpp -to png_bytepp, and in png_set_iCCP, to const_png_bytepp. +to png_bytepp, and in png_set_iCCP, from png_charp to png_const_bytepp. There are changes of form in png.h, including new and changed macros to declare