[libpng17] Minor editing of README and comments in example.c and pngtest.c.

This commit is contained in:
Glenn Randers-Pehrson
2014-10-17 09:54:18 -05:00
parent 70cd1a10f2
commit eaad9f9177
3 changed files with 15 additions and 8 deletions

17
README
View File

@@ -1,4 +1,4 @@
README for libpng version 1.7.0beta38 - September 28, 2014 (shared library 17.0)
README for libpng version 1.7.0beta38 - October 17, 2014 (shared library 17.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,18 @@ 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, members of 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