[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)
|
Fixed typecasting of some png_debug() statements (Cosmin)
|
||||||
|
|
||||||
Version 1.5.1beta04 [January 15, 2011]
|
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:
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
||||||
(subscription required; visit
|
(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)
|
Fixed typecasting of some png_debug() statements (Cosmin)
|
||||||
|
|
||||||
Version 1.5.1beta04 [January 15, 2011]
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(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,
|
png_get_iCCP(png_ptr, info_ptr, &name,
|
||||||
&compression_type, &profile, &proflen);
|
&compression_type, &profile, &proflen);
|
||||||
name - The profile name.
|
name - The profile name.
|
||||||
compression - The compression type; always
|
compression_type - The compression type; always
|
||||||
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
||||||
You may give NULL to this argument to
|
You may give NULL to this argument to
|
||||||
ignore it.
|
ignore it.
|
||||||
profile - International Color Consortium color
|
profile - International Color Consortium color
|
||||||
profile data. May contain NULs.
|
profile data. May contain NULs.
|
||||||
proflen - length of profile data in bytes.
|
proflen - length of profile data in bytes.
|
||||||
|
|
||||||
png_get_sBIT(png_ptr, info_ptr, &sig_bit);
|
png_get_sBIT(png_ptr, info_ptr, &sig_bit);
|
||||||
sig_bit - the number of significant bits for
|
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.
|
written.
|
||||||
|
|
||||||
png_set_iCCP(png_ptr, info_ptr, name, compression_type,
|
png_set_iCCP(png_ptr, info_ptr, name, compression_type,
|
||||||
profile, proflen);
|
profile, proflen);
|
||||||
name - The profile name.
|
name - The profile name.
|
||||||
compression - The compression type; always
|
compression_type - The compression type; always
|
||||||
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
||||||
You may give NULL to this argument to
|
You may give NULL to this argument to
|
||||||
ignore it.
|
ignore it.
|
||||||
profile - International Color Consortium color
|
profile - International Color Consortium color
|
||||||
profile data. May contain NULs.
|
profile data. May contain NULs.
|
||||||
proflen - length of profile data in bytes.
|
proflen - length of profile data in bytes.
|
||||||
|
|
||||||
png_set_sBIT(png_ptr, info_ptr, sig_bit);
|
png_set_sBIT(png_ptr, info_ptr, sig_bit);
|
||||||
sig_bit - the number of significant bits for
|
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.
|
libpng 1.5.
|
||||||
|
|
||||||
In png_get_iCCP, the type of "profile" was changed from png_charpp
|
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
|
There are changes of form in png.h, including new and changed macros to
|
||||||
declare
|
declare
|
||||||
|
38
libpng.3
38
libpng.3
@ -558,7 +558,7 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.5.1beta04
|
|||||||
|
|
||||||
\fI\fB
|
\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
|
\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,
|
png_get_iCCP(png_ptr, info_ptr, &name,
|
||||||
&compression_type, &profile, &proflen);
|
&compression_type, &profile, &proflen);
|
||||||
name - The profile name.
|
name - The profile name.
|
||||||
compression - The compression type; always
|
compression_type - The compression type; always
|
||||||
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
||||||
You may give NULL to this argument to
|
You may give NULL to this argument to
|
||||||
ignore it.
|
ignore it.
|
||||||
profile - International Color Consortium color
|
profile - International Color Consortium color
|
||||||
profile data. May contain NULs.
|
profile data. May contain NULs.
|
||||||
proflen - length of profile data in bytes.
|
proflen - length of profile data in bytes.
|
||||||
|
|
||||||
png_get_sBIT(png_ptr, info_ptr, &sig_bit);
|
png_get_sBIT(png_ptr, info_ptr, &sig_bit);
|
||||||
sig_bit - the number of significant bits for
|
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.
|
written.
|
||||||
|
|
||||||
png_set_iCCP(png_ptr, info_ptr, name, compression_type,
|
png_set_iCCP(png_ptr, info_ptr, name, compression_type,
|
||||||
profile, proflen);
|
profile, proflen);
|
||||||
name - The profile name.
|
name - The profile name.
|
||||||
compression - The compression type; always
|
compression_type - The compression type; always
|
||||||
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
|
||||||
You may give NULL to this argument to
|
You may give NULL to this argument to
|
||||||
ignore it.
|
ignore it.
|
||||||
profile - International Color Consortium color
|
profile - International Color Consortium color
|
||||||
profile data. May contain NULs.
|
profile data. May contain NULs.
|
||||||
proflen - length of profile data in bytes.
|
proflen - length of profile data in bytes.
|
||||||
|
|
||||||
png_set_sBIT(png_ptr, info_ptr, sig_bit);
|
png_set_sBIT(png_ptr, info_ptr, sig_bit);
|
||||||
sig_bit - the number of significant bits for
|
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.
|
libpng 1.5.
|
||||||
|
|
||||||
In png_get_iCCP, the type of "profile" was changed from png_charpp
|
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
|
There are changes of form in png.h, including new and changed macros to
|
||||||
declare
|
declare
|
||||||
|
Loading…
Reference in New Issue
Block a user