[devel] Updated documentation of png_set_iCCP().
This commit is contained in:
parent
f3c51e4a28
commit
4a5a1ec0b4
2
ANNOUNCE
2
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
|
||||
|
2
CHANGES
2
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
|
||||
|
@ -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
|
||||
|
38
libpng.3
38
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
|
||||
|
Loading…
Reference in New Issue
Block a user