From e557fd7c44f09632883f214fcb88ffa769b85680 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 17 Oct 2014 09:31:48 -0500 Subject: [PATCH] [libpng16] Minor editing of README --- README | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README b/README index 46bb8903a..21b1314e2 100644 --- a/README +++ b/README @@ -23,7 +23,7 @@ earlier versions if you are using a shared library. The type of the png_uint_32, which will affect shared-library applications that use this function. -To avoid problems with changes to the internals of png_info_struct, +To avoid problems with changes to the internals of png info_struct, new APIs have been made available in 0.95 to avoid direct application access to info_ptr. These functions are the png_set_ and png_get_ functions. These functions should be used when @@ -33,14 +33,15 @@ directly, to avoid such problems in the future. It is important to note that the APIs did not make current programs that access the info struct directly incompatible with the new 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. +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