Glenn Randers-Pehrson
b1d49de5bc
[libpng17] Happy New Year -- update copyright year.
2014-12-31 18:43:44 -06:00
Glenn Randers-Pehrson
82dd5d3575
[libpng17] Imported from libpng-1.7.0beta45.tar
2014-12-28 13:30:06 -06:00
John Bowler
56850aba35
[libpng17] Removed user limits from pngfix. Also pass NULL pointers to
...
png_read_row to skip the unnecessary row de-interlace stuff.
2014-12-24 17:45:38 -06:00
Glenn Randers-Pehrson
b23a10f565
[libpng17] Imported from libpng-1.7.0beta43.tar
2014-12-18 09:00:17 -06:00
Glenn Randers-Pehrson
4f8050416f
[libpng17] Merge pngvalid.c and pngfix.c with libpng-1.6.14beta04
2014-09-28 10:37:26 -05:00
Glenn Randers-Pehrson
b407af6503
[libpng17] Imported from libpng-1.7.0beta34.tar
2014-03-17 13:19:20 -05:00
Glenn Randers-Pehrson
f99393490d
[libpng17] Imported from libpng-1.7.0beta32.tar
2014-02-26 12:54:47 -06:00
Glenn Randers-Pehrson
39fee3cee1
[libpng17] Fixed a large number of instances where PNGCBAPI was omitted from
...
function definitions.
2014-01-31 21:55:27 -06:00
Glenn Randers-Pehrson
28711dff2a
[libpng17] Updated copyright year in recently-changed files.
2013-12-31 21:15:11 -06:00
Glenn Randers-Pehrson
200fc68f52
[libpng17] Removed #error macro from contrib/tools/pngfix.c (Thomas Klausner).
2013-12-27 20:18:50 -06:00
Glenn Randers-Pehrson
9e168ea2c9
[libpng17] Merged files with version 1.6.8 that have not changed since then.
2013-12-19 20:33:08 -06:00
John Bowler
5a1b8d106d
[libpng17] Tidied up pngfix inits and fixed pngtest no-write builds.
2013-12-01 15:50:03 -06:00
Glenn Randers-Pehrson
a199a15b28
[libpng17] Added another "assert()" to pngfix.c
2013-11-23 12:58:32 -06:00
Glenn Randers-Pehrson
e9446f2f95
[libpng17] Added an "assert()" to pngfix.c to quiet a clang scanner warning.
2013-11-23 12:14:02 -06:00
John Bowler
7e2707e2af
[libpng17] Ported recent changes from libpng16 to libpng17
...
Fixed 'minimal' builds. Various obviously useful minimal configurations
don't build because of missing contrib/libtests test programs and overly
complex dependencies in scripts/pnglibconf.dfa. This change adds
contrib/conftest/*.dfa files that can be used in automatic build
scripts to ensure that these configurations continue to build.
Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
2013-11-22 18:01:30 -06:00
John Bowler
9f2fbcf5d8
[libpng17] Fixed #include in filter_neon_intrinsics.c and ctype macros. The
...
ctype char checking macros take an unsigned char argument, not a signed char.
2013-11-04 13:50:20 -06:00
John Bowler
32aeb2cd4e
[libpng17] Cleaned up (char*) casts of zlib messages. The latest version
...
of the Intel C compiler complains about casting a string literal as (char*),
so copied the treatment of z_const from the library code into pngfix.c
2013-10-06 08:47:43 -05:00
John Bowler
7657ac14f2
[libpng17] Catch up with recent libpng16 changes; unknown handling and spelling
...
corrections
2013-09-30 11:18:13 -05:00
John Bowler
23f3e46518
[libpng17] Ported pngfix.c patches from libpng16.
2013-07-03 07:50:24 -05:00
John Bowler
23f4320775
[libpng17] Added perfect hash code generation for lists of PNG chunks. This is
...
a work in progress; checked in for use in pngfix.c
2013-07-03 07:41:04 -05:00
Glenn Randers-Pehrson
5aa2ca454d
[libpng17] Revised pngfix.c to use PNG_U32() instead of PNG_CHUNK()
2013-07-02 09:52:09 -05:00
Glenn Randers-Pehrson
7905286ffa
[libpng17] Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c and revised
...
it to check all compressed chunks known to libpng.
2013-07-01 15:11:36 -05:00
Glenn Randers-Pehrson
4a7796faca
[libpng17] Imported from libpng-1.7.0beta14.tar
2013-06-08 21:00:36 -05:00
Glenn Randers-Pehrson
46ad4c5bd4
[libpng17] Deleted contrib/tools/fixitxt.c, which has been renamed.
2013-06-05 17:03:38 -05:00
John Bowler
a08ac031fc
[libpng17] Fixed ICC compiler warning in tools/png-fix-itxt.c
2013-06-05 16:48:18 -05:00
Glenn Randers-Pehrson
bd56d76417
[libpng17] Port recent zlib windowBits handling from libpng-1.6.3beta06
2013-05-10 17:43:59 -05:00
Glenn Randers-Pehrson
6cf97e37af
[libpng17] Bump version to 1.7.0beta08
2013-04-18 07:39:57 -05:00
Glenn Randers-Pehrson
8ef61c4693
[libpng17] Added contrib/tools/fixitxt.c, to repair the erroneous iTXt
...
chunk length written by libpng-1.6.0 and 1.6.1.
2013-04-16 23:09:35 -05:00
John Bowler
0cf9c7d63d
[libpng17] Removed some duplicated code from png.c and contrib/tools/scale.c
...
and changed some png_warning() calls to png_app_error() calls in pngwutil.c
2012-12-15 16:04:28 -06:00
Glenn Randers-Pehrson
ec1d13a1d4
[libpng17] Imported from libpng-1.7.0alpha01.tar
2012-12-15 12:33:44 -06:00
John Bowler
3e42c81193
[libpng17] Made 8-bit compose and rgb_to_grayscale accuracy improvements.
...
These changes cause 16-bit arithmetic to be used for 8-bit data in the gamma
corrected compose and grayscale operations. The arithmetic errors have
three sources all of which are fixed in this commit:
1) 8-bit linear calculations produce massive errors for lower intensity
values.
2) The old 16-bit "16 to 8" gamma table code erroneously wrote the lowest
output value into a table entry which corresponded to multiple output
values (so where the value written should have been the closest to the
transformed input value.)
3) In a number of cases the code to access the 16-bit table did not round;
it did a simple shift, which was wrong and made the side effects of (2)
even worse.
The new gamma code does not have the 16-to-8 problem at the cost of slighly
more calculations and the algorithm used to minimize the number of
calculations has been extended to all the 16-bit tables; it has advantages
for any significant gamma correction.
2012-12-14 22:17:54 -06:00
Glenn Randers-Pehrson
46cb5109bd
[libpng16] Moved scripts/chkfmt to contrib/tools.
2012-06-25 14:14:17 -05:00
Glenn Randers-Pehrson
96027d919f
[libpng16] Imported from libpng-1.6.0beta20.tar
2012-03-29 06:38:51 -05:00
John Bowler
13a87d9682
[libpng16] Fixed ICC profile parsing and sRGB profile recognition
...
and moved checksum-icc.c from contrib/libtests to contrib/tools.
2012-03-28 09:51:43 -05:00
Glenn Randers-Pehrson
da1c5ca65a
[libpng16] Imported from libpng-1.6.0beta05.tar
2012-01-14 20:44:14 -06:00
Glenn Randers-Pehrson
6bdefdd977
[libpng] Fixed some trivial typos in the contrib/tools subdirectory.
2011-11-29 07:44:48 -06:00
John Bowler
405a398b3e
[libpng16] New 'tools' directory containing tools used to generate libpng code.
2011-11-28 23:57:45 -06:00