John Bowler
4e8d7ec5fc
[devel] Added sCAL chunk to pngtest.png
2011-06-10 17:47:09 -05:00
Glenn Randers-Pehrson
254a513fd1
[devel] Fixed png_handle_sCAL which is broken in 1.5
2011-06-10 17:45:48 -05:00
Glenn Randers-Pehrson
ab1a573768
[devel] Imported from libpng-1.5.3rc03.tar
2011-06-07 19:56:51 -05:00
Glenn Randers-Pehrson
cc5226bf2a
[master] Imported from libpng-1.4.8beta05.tar
2011-06-07 19:53:23 -05:00
Glenn Randers-Pehrson
8fbb563f4e
[master] Imported from libpng-1.4.8beta04.tar
v1.4.8beta04
2011-06-07 14:59:33 -05:00
Glenn Randers-Pehrson
65e6d5a34f
[master] Fixed 1-byte uninitialized memory reference in png_format_buffer()
...
(Bug report by Frank Busse, related to CVE-2004-0421).
2011-06-07 14:58:07 -05:00
Glenn Randers-Pehrson
38a9d2763c
[devel] Imported from libpng-1.5.3rc02.tar
v1.5.3rc02
2011-06-07 14:36:45 -05:00
Glenn Randers-Pehrson
07e1d34a84
[devel] Fixed 1-byte uninitialized memory reference in png_format_buffer()
...
(Bug report by Frank Busse, related to CVE-2004-0421).
2011-06-07 14:35:30 -05:00
Glenn Randers-Pehrson
47be2e7c3a
[master] Imported from libpng-1.4.8beta04.tar
2011-06-06 00:02:11 -05:00
Glenn Randers-Pehrson
4d694dadd8
[master] Issue warning instead of error for out of range coefficients
...
for rgb_to_gray transform
2011-06-05 23:44:05 -05:00
Glenn Randers-Pehrson
59397f985e
[master] Imported from libpng-1.4.8beta03.tar
v1.4.8beta03
2011-06-05 23:27:22 -05:00
Glenn Randers-Pehrson
cc1d4d0dbc
[master] Check for integer overflow in png_set_rgb_to_gray().
2011-06-05 23:26:14 -05:00
Glenn Randers-Pehrson
070434c045
[master] Imported from libpng-1.4.8beta02.tar
v1.4.8beta02
2011-06-05 17:21:29 -05:00
Glenn Randers-Pehrson
0dc882d7c3
[master] Ported bugfix in pngrtran.c from 1.5.3: Ensure coefficients are OK for
...
png_rgb_to_gray_fixed().
2011-06-05 17:19:17 -05:00
Glenn Randers-Pehrson
c3ac9a507a
[master] Bump to version bumpify-1.4.8rc01
2011-06-03 21:36:28 -05:00
Glenn Randers-Pehrson
a6afebc718
[master] Imported from libpng-1.4.8beta01.tar
v1.4.8beta01
2011-06-03 21:21:15 -05:00
Glenn Randers-Pehrson
d41915dc2a
[master] Port change to pngrtran.c from 1.5.3: when expanding a paletted image,
...
always expand to RGBA if transparency is present.
2011-06-03 21:17:49 -05:00
Glenn Randers-Pehrson
5a5ad7a5fa
[master] Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
...
before IDAT.
2011-06-03 21:16:45 -05:00
Glenn Randers-Pehrson
9dad5e37ae
[master] Pass "" instead of '\0' to png_default_error() in png_err().
...
This mistake was introduced in libpng-1.2.20beta01.
2011-06-03 21:14:55 -05:00
Glenn Randers-Pehrson
36edbb5eee
[devel] Imported from libpng-1.5.3rc01.tar
v1.5.3rc01
2011-06-03 07:18:14 -05:00
Glenn Randers-Pehrson
3fceee058f
[devel] Fix typo in pngwutil.c comment.
2011-05-23 06:31:33 -05:00
Glenn Randers-Pehrson
adde7b5c1e
[master] Fix typo in pngwutil.c comment
2011-05-23 06:29:49 -05:00
Glenn Randers-Pehrson
0640cc3d3a
[devel] Bump to version libpng-1.5.3beta11
2011-05-20 09:31:08 -05:00
Glenn Randers-Pehrson
3f68453d4a
[devel] Imported from libpng-1.5.3beta10.tar
v1.5.3beta10
2011-05-20 09:30:08 -05:00
Glenn Randers-Pehrson
0a048923ae
[devel] Update CHANGES and ANNOUNCE
2011-05-18 21:44:37 -05:00
John Bowler
5441e18988
[devel] Add tests for expand16, more fixes for palette image tests
...
Changes only pngvalid and test-pngvalid-full.sh - no libpng changes -
corrects the code for palette image tests, disables attempts to validate
palette colors.
2011-05-18 18:57:12 -05:00
John Bowler
db0ed3e62d
[devel] png_set_background+png_expand_16 did not interwork correctly.
...
This problem is present in 1.5.2; if png_set_background is called with
need_expand false and the matching 16 bit color libpng erroneously just treats
it as an 8-bit color because of where png_do_expand_16 is in the transform
list. This simple fix reduces the supplied colour to 8 bits, so it gets
smashed, but this is better than the current behavior.
2011-05-18 18:51:24 -05:00
Glenn Randers-Pehrson
8a7ec52c8b
[devel] Consistently use "n-bit", not "n bit" in png.c
2011-05-17 07:14:30 -05:00
Glenn Randers-Pehrson
66e1b3abba
[devel] Bump to version libpng-1.5.3beta10
2011-05-17 07:03:21 -05:00
Glenn Randers-Pehrson
cd116fa248
[devel] Fix spelling of "conversion" in manual.
v1.5.3beta09
2011-05-17 06:56:50 -05:00
Glenn Randers-Pehrson
c261077788
[devel] Consistently use "n-bit", not "n bit" in CHANGES and ANNOUNCE.
2011-05-17 06:52:54 -05:00
Glenn Randers-Pehrson
55fbff358a
[devel] Consistently use "n-bit", not "n bit" in comments.
2011-05-17 06:49:32 -05:00
John Bowler
1921e6db90
[devel] Reversed earlier change of transformation order; move
...
png_expand_16 back where it was before libpng-1.5.3beta07.
The change doesn't work because it requires 16 bit gamma tables when the code
only generates 8 bit ones. This fails silently; the libpng code just doesn't
do any gamma correction. Moving the tests back leaves the old, inaccurate, 8
bit gamma calculations, but these are clearly better than none!
2011-05-16 20:57:54 -05:00
Glenn Randers-Pehrson
bb4f77cd95
[devel] Bump to version libpng-1.5.3beta09
2011-05-16 20:42:11 -05:00
Glenn Randers-Pehrson
5ca62c9f35
[devel] Bump to version libpng-1.5.3rc01
2011-05-16 09:14:42 -05:00
Glenn Randers-Pehrson
1591a4c9dc
[devel] Imported from libpng-1.5.3beta08.tar
v1.5.3beta08
2011-05-16 09:10:37 -05:00
Glenn Randers-Pehrson
c36074e85a
[devel] Removed reference to non-existent png_set_rgb_to_Y from the manual.
2011-05-16 09:08:51 -05:00
Glenn Randers-Pehrson
73904f52b4
[devel] Minor revisions to comments on pngstruct.h and pngvalid.c
2011-05-15 19:38:06 -05:00
Glenn Randers-Pehrson
0e128dfa2f
[devel] Update CHANGES and ANNOUNCE; fix some new typos in comments.
2011-05-15 19:09:24 -05:00
John Bowler
9994f25733
[devel] pngvalid: add memory overwrite and palette image checks
...
also minor cleanup in the libpng code itself (pngrtran.c and pngrutil.c) and some
extra checking there.
2011-05-15 18:52:39 -05:00
Glenn Randers-Pehrson
593fc04096
[devel] Fix typos and indentation in new material in the documentation.
2011-05-12 22:18:23 -05:00
John Bowler
cb0b29631f
[devel] Documented png_set_alpha_mode(), other changes in libpng.3 and
...
libpng-manual.txt.
The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
parameters are supplied by the caller), while in the absence of cHRM
sRGB/Rec 709 values are still used.
The bKGD chunk no longer overwrites the background value set by
png_set_background(), allowing the latter to be used before the file
header is read. It never performed any useful function to override
the default anyway.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
2011-05-12 21:48:29 -05:00
John Bowler
ed4d32baa4
[devel] Improve "pngvalid --speed" to exclude more of pngvalid from the time.
2011-05-11 23:02:28 -05:00
Glenn Randers-Pehrson
d83530f45d
[devel] Bump to version libpng-1.5.3beta08
2011-05-11 14:39:11 -05:00
Glenn Randers-Pehrson
cb3f42123f
[devel] Imported from libpng-1.5.3beta07.tar
v1.5.3beta07
2011-05-11 14:36:14 -05:00
Glenn Randers-Pehrson
36fa2a0abd
[devel] Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
...
before IDAT.
2011-05-11 06:52:37 -05:00
Glenn Randers-Pehrson
2d3fc1ca3b
[devel] Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and
...
PNG_AFTER_IDAT from pngpriv.h to png.h because they must be visible to
applications that call png_set_unknown_chunks().
2011-05-10 23:48:00 -05:00
John Bowler
f70c7d02e9
[devel] Added named value and 'flag' gamma support to png_set_gamma. Made a
...
minor change from the previous (unreleased) ABI/API to hide the exact value
used for Macs - it's not a good idea to embed this in the ABI!
2011-05-10 22:54:37 -05:00
Glenn Randers-Pehrson
d768d103cf
[devel] Minor revision of commentary about png_set_alpha_mode().
2011-05-08 23:26:19 -05:00
Glenn Randers-Pehrson
44e26d4149
[devel] Revised commentary about png_set_alpha_mode() to make it clearer
...
that this only affects how composited pixels are returned to the calling
application; they don't affect the pixels that are written to a PNG file.
2011-05-08 22:56:42 -05:00