[libpng16] Changed png_convert_to_rfc_1123() to png_convert_to_rfc_1123_buffer()

in the manual, to reflect the change made in libpng-1.6.0.
Updated README file to reflect that direct access to the info struct and
png struct are not permitted since libpng-1.5.0.
This commit is contained in:
Glenn Randers-Pehrson
2014-10-17 09:06:25 -05:00
parent 3922544139
commit f7a7bb0384
3 changed files with 32 additions and 24 deletions

16
README
View File

@@ -1,4 +1,4 @@
README for libpng version 1.6.14rc01 - October 15, 2014 (shared library 16.0)
README for libpng version 1.6.14rc02 - October 17, 2014 (shared library 16.0)
See the note about version numbers near the top of png.h
See INSTALL for instructions on how to install libpng.
@@ -30,11 +30,17 @@ png_get_<chunk> functions. These functions should be used when
accessing/storing the info_struct data, rather than manipulating it
directly, to avoid such problems in the future.
It is important to note that the APIs do not make current programs
It is important to note that the APIs did not make current programs
that access the info struct directly incompatible with the new
library. However, it is strongly suggested that new programs use
the new APIs (as shown in example.c and pngtest.c), and older programs
be converted to the new format, to facilitate upgrades in the future.
library, through libpng-1.2.x. In libpng-1.4.x, which was meant to
be a transitional release, the png struct and the info struct can still
be accessed, but the compiler will issue a warning about deprecated
usage. Since libpng-1.5.0, direct access to these structs is not
allowed, and the definitions of the structs reside in private
pngstruct.h and pnginfo.h header files that are not accessible to
applications. It is strongly suggested that new programs use the new
APIs (as shown in example.c and pngtest.c), and older programs be
converted to the new format, to facilitate upgrades in the future.
****
Additions since 0.90 include the ability to compile libpng as a