2011-11-02 23:43:00 -04:00
|
|
|
Libpng 1.5.6 - November 3, 2011
|
1998-04-21 16:03:57 -04:00
|
|
|
|
2011-11-02 23:43:00 -04:00
|
|
|
This is a public release of libpng, intended for use in production codes.
|
1998-04-21 16:03:57 -04:00
|
|
|
|
2006-02-22 10:19:25 -05:00
|
|
|
Files available for download:
|
|
|
|
|
|
|
|
Source files with LF line endings (for Unix/Linux) and with a
|
|
|
|
"configure" script
|
|
|
|
|
2011-11-02 23:43:00 -04:00
|
|
|
libpng-1.5.6.tar.xz (LZMA-compressed, recommended)
|
|
|
|
libpng-1.5.6.tar.gz
|
|
|
|
libpng-1.5.6.tar.bz2
|
2006-03-31 06:29:33 -05:00
|
|
|
|
2006-02-22 10:19:25 -05:00
|
|
|
Source files with CRLF line endings (for Windows), without the
|
|
|
|
"configure" script
|
|
|
|
|
2011-11-02 23:43:00 -04:00
|
|
|
lpng156.7z (LZMA-compressed, recommended)
|
|
|
|
lpng156.zip
|
2006-02-22 10:19:25 -05:00
|
|
|
|
|
|
|
Other information:
|
|
|
|
|
2011-11-02 23:43:00 -04:00
|
|
|
libpng-1.5.6-README.txt
|
|
|
|
libpng-1.5.6-LICENSE.txt
|
2011-09-22 13:41:58 -04:00
|
|
|
|
|
|
|
Changes since the last public release (1.5.5):
|
|
|
|
|
|
|
|
Fixed some 64-bit type conversion warnings in pngrtran.c
|
|
|
|
Moved row_info from png_struct to a local variable.
|
|
|
|
The various interlace mask arrays have been made into arrays of
|
|
|
|
bytes and made PNG_CONST and static (previously some arrays were
|
|
|
|
marked PNG_CONST and some weren't).
|
|
|
|
Additional checks have been added to the transform code to validate the
|
|
|
|
pixel depths after the transforms on both read and write.
|
|
|
|
Removed some redundant code from pngwrite.c, in png_desgtroy_write_struct().
|
|
|
|
Changed chunk reading/writing code to use png_uint_32 instead of png_byte[4].
|
|
|
|
This removes the need to allocate temporary strings for chunk names on
|
|
|
|
the stack in the read/write code. Unknown chunk handling still uses the
|
|
|
|
string form because this is exposed in the API.
|
2011-09-26 17:35:22 -04:00
|
|
|
Added a note in the manual the png_read_update_info() must be called only
|
|
|
|
once with a particular info_ptr.
|
2011-09-26 21:57:33 -04:00
|
|
|
Revised test-pngtest.sh to report FAIL when pngtest fails.
|
|
|
|
Added "--strict" option to pngtest, to report FAIL when the failure is
|
2011-09-27 20:01:58 -04:00
|
|
|
only because the resulting valid files are different.
|
|
|
|
Revised CMakeLists.txt to work with mingw and removed some material from
|
|
|
|
CMakeLists.txt that is no longer useful in libpng-1.5.
|
2011-10-05 17:23:53 -04:00
|
|
|
Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."
|
2011-10-06 22:54:17 -04:00
|
|
|
Speed up png_combine_row() for interlaced images. This reduces the generality
|
|
|
|
of the code, allowing it to be optimized for Adam7 interlace. The masks
|
|
|
|
passed to png_combine_row() are now generated internally, avoiding
|
|
|
|
some code duplication and localizing the interlace handling somewhat.
|
2011-10-06 23:27:16 -04:00
|
|
|
Align png_struct::row_buf - previously it was always unaligned, caused by
|
|
|
|
a bug in the code that attempted to align it; the code needs to subtract
|
|
|
|
one from the pointer to take account of the filter byte prepended to
|
|
|
|
each row.
|
2011-10-07 19:48:10 -04:00
|
|
|
Optimized png_combine_row() when rows are aligned. This gains a small
|
2011-10-07 19:36:37 -04:00
|
|
|
percentage for 16-bit and 32-bit pixels in the typical case where the
|
|
|
|
output row buffers are appropriately aligned. The optimization was not
|
|
|
|
previously possible because the png_struct buffer was always misaligned.
|
2011-10-13 18:24:36 -04:00
|
|
|
Removed two redundant tests for unitialized row.
|
2011-10-14 13:33:52 -04:00
|
|
|
Fixed a relatively harmless memory overwrite in compressed text writing
|
|
|
|
with a 1 byte zlib buffer.
|
2011-10-14 20:43:53 -04:00
|
|
|
Add ability to call png_read_update_info multiple times to pngvalid.c
|
2011-10-14 19:19:47 -04:00
|
|
|
Fixes for multiple calls to png_read_update_info. These fixes attend to
|
|
|
|
most of the errors revealed in pngvalid, however doing the gamma work
|
|
|
|
twice results in inaccuracies that can't be easily fixed. There is now
|
|
|
|
a warning in the code if this is going to happen.
|
2011-10-16 23:42:46 -04:00
|
|
|
Turned on multiple png_read_update_info in pngvalid transform tests.
|
2011-10-17 08:58:24 -04:00
|
|
|
Prevent libpng from overwriting unused bits at the end of the image when
|
2011-10-16 23:52:56 -04:00
|
|
|
it is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
|
2011-10-21 13:57:01 -04:00
|
|
|
overwrite the partial byte at the end of each row if the row width was not
|
|
|
|
an exact multiple of 8 bits and the image is not interlaced.
|
2011-10-17 16:25:03 -04:00
|
|
|
Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
|
|
|
|
(Mans Rullgard).
|
2011-10-21 13:57:01 -04:00
|
|
|
Changed misleading "Missing PLTE before cHRM" warning to "Out of place cHRM"
|
2011-11-02 23:43:00 -04:00
|
|
|
Added PNG_LSR() and PNG_LSL() macros to defend against buggy compilers that
|
|
|
|
evaluate non-taken code branches and complain about out-of-range shifts.
|
|
|
|
Renamed the local variable 'byte' because it appears in a MSYS header
|
|
|
|
file.
|
2011-10-27 20:56:36 -04:00
|
|
|
Added #define PNG_ALIGN_TYPE PNG_ALIGN_NONE to contrib/pngminim/*/pngusr.h
|
2011-10-27 17:47:25 -04:00
|
|
|
|
2011-11-02 23:43:00 -04:00
|
|
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
2006-08-19 14:59:24 -04:00
|
|
|
(subscription required; visit
|
2006-02-20 23:09:05 -05:00
|
|
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
2011-11-02 23:43:00 -04:00
|
|
|
to subscribe)
|
|
|
|
or to glennrp at users.sourceforge.net
|
1998-04-21 16:03:57 -04:00
|
|
|
|
1998-12-29 12:47:59 -05:00
|
|
|
Glenn R-P
|