diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-01-10 10:37:56 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-01-10 11:57:06 -0600 |
commit | 101a87cb0f2930e4062b7f825baff4ed57a847e6 (patch) | |
tree | f233708de145c5c4531673f1af521749e0833aae /libpng-manual.txt | |
parent | 62c3f9f0fe681b6daf44bcfeb0e37ee690189585 (diff) | |
download | libpng-101a87cb0f2930e4062b7f825baff4ed57a847e6.tar.gz |
[libpng15] Imported from libpng-1.5.18beta04.tarv1.5.18beta04
Diffstat (limited to 'libpng-manual.txt')
-rw-r--r-- | libpng-manual.txt | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libpng-manual.txt b/libpng-manual.txt index 7aebb2332..d4f394f53 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -1,6 +1,6 @@ Libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.5.18beta04 - January 1, 2014 + libpng version 1.5.18beta04 - January 10, 2014 Updated and distributed by Glenn Randers-Pehrson <glennrp at users.sourceforge.net> Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ Libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng versions 0.97, January 1998, through 1.5.18beta04 - January 1, 2014 + libpng versions 0.97, January 1998, through 1.5.18beta04 - January 10, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2013 Glenn Randers-Pehrson @@ -4183,6 +4183,7 @@ X. Changes to Libpng from version 1.4.x to 1.5.x From libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the function) incorrectly returned a value of type png_uint_32. +The incorrect macro was removed from libpng-1.4.5. Checking for invalid palette index on write was added at libpng 1.5.10. If a pixel contains an invalid (out-of-range) index libpng issues @@ -4307,11 +4308,6 @@ reset by pngusr.h or by explicit settings on the compiler command line. These settings may produce compiler warnings or errors in 1.5.0 because of macro redefinition. -From libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the -function) incorrectly returned a value of type png_uint_32. libpng 1.5.0 -is consistent with the implementation in 1.4.5 and 1.2.x (where the macro -did not exist.) - Applications can now choose whether to use these macros or to call the corresponding function by defining PNG_USE_READ_MACROS or PNG_NO_USE_READ_MACROS before including png.h. Notice that this is @@ -4329,7 +4325,10 @@ option was off by default, and slightly inaccurate scaling occurred. This option can no longer be turned off, and the choice of accurate or inaccurate 16-to-8 scaling is by using the new png_set_scale_16_to_8() API for accurate scaling or the old png_set_strip_16_to_8() API for simple -chopping. +chopping. In libpng-1.5.4, the PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED +macro became PNG_READ_SCALE_16_TO_8_SUPPORTED, and the PNG_READ_16_TO_8 +macro became PNG_READ_STRIP_16_TO_8_SUPPORTED, to enable the two +png_set_*_16_to_8() functions separately. Prior to libpng-1.5.4, the png_set_user_limits() function could only be used to reduce the width and height limits from the value of @@ -4668,7 +4667,7 @@ Other rules can be inferred by inspecting the libpng source. XIV. Y2K Compliance in libpng -January 1, 2014 +January 10, 2014 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. |