[libpng15] Installed more accurate linear to sRGB conversion tables.

The slightly modified tables reduce the number of 16-bit values that
convert to an off-by-one 8-bit value.  The "makesRGB.c" code that was used
to generate the tables is now in a contrib/sRGBtables sub-directory.
This commit is contained in:
John Bowler
2011-11-11 18:14:59 -06:00
committed by Glenn Randers-Pehrson
parent d3feb52955
commit 0a521d3785
4 changed files with 519 additions and 216 deletions

View File

@@ -3688,7 +3688,7 @@ Version 1.5.7beta01 [November 4, 2011]
just the changes that definitely improve speed and remain simple.
The changes also slightly increase the clarity of the code.
Version 1.5.7beta02 [November 8, 2011]
Version 1.5.7beta02 [November 12, 2011]
Check compression_type parameter in png_get_iCCP and remove spurious
casts. The compression_type parameter is always assigned to, so must
be non-NULL. The cast of the profile length potentially truncated the
@@ -3705,6 +3705,10 @@ Version 1.5.7beta02 [November 8, 2011]
Added versioning to pnglibconf.h comments.
Simplified read/write API initial version; basic read/write tested on
a variety of images, limited documentation (in the header file.)
Installed more accurate linear to sRGB conversion tables. The slightly
modified tables reduce the number of 16-bit values that
convert to an off-by-one 8-bit value. The "makesRGB.c" code that was used
to generate the tables is now in a contrib/sRGBtables sub-directory.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit