John Bowler
fcd7c13ffd
[devel] Fix pngvalid.c with ACCURATE_SCALE
...
and update scripts/pnglibconf.h.prebuilt
2011-06-22 23:13:01 -05:00
John Bowler
8d261262d9
[devel] Fixed pngvalid, simplified macros, added checking for 0 in sCAL.
2011-06-18 13:37:11 -05:00
Glenn Randers-Pehrson
9a1e2232ba
[devel] Fix pngvalid.c to compile when SCALE_16 is disabled.
2011-06-17 23:40:12 -05:00
Glenn Randers-Pehrson
98f053edbd
[devel] Fix new bugs in pngvalid.c; it failed to compile.
2011-06-17 21:57:49 -05:00
Glenn Randers-Pehrson
ab63dd0892
[devel] Renamed png_set_chop_16() to png_set_strip_16().
2011-06-17 20:41:19 -05:00
Glenn Randers-Pehrson
a7428d443c
[devel] Renamed png_set_strip_16() to png_set_scale_16().
2011-06-17 19:07:04 -05:00
Glenn Randers-Pehrson
5f0b9276ec
[devel] Made PNG_READ_16_TO_8_ACCURATE_SCALE configurable again.
...
If this is not enabled, png_set_strip_16() and png_do_scale_16_to_8()
aren't built.
2011-06-16 09:05:40 -05:00
Glenn Randers-Pehrson
ef217b76a3
[devel] Updated comments that mention 1.5.3; changed them to 1.5.4.
2011-06-15 12:58:27 -05:00
Glenn Randers-Pehrson
677819fe66
[devel] Check for READ_CHOP_16_TO_8 support in pngvalid,
...
not libpng version for presence of png_set_chop_16_to_8(), in pngvalid.c
2011-06-14 07:10:47 -05:00
John Bowler
550bab03fb
[devel] Removed the ACCURATE and LEGACY options (they are no longer useable)
...
Fixed some compiliation problems with scaling options.
2011-06-14 06:17:26 -05:00
Glenn Randers-Pehrson
97039baa88
[devel] Imported from libpng-1.5.4beta01.tar
2011-06-13 20:09:22 -05:00
John Bowler
6f55ee2ec5
[devel] Added log option to pngvalid.c and attempted to improve gamma messages.
2011-06-11 07:28:06 -05:00
John Bowler
59a6c379dd
[devel] Revised pngvalid.c to test PNG_ALPHA_MODE_SUPPORTED correctly.
...
This allows pngvalid to build when ALPHA_MODE is not supported, which is
required if it is to build on libpng 1.4.
2011-06-11 06:51:06 -05:00
John Bowler
d2f0bc2d13
[devel] Improved gamma range checks and other things OpenWatcom warns about.
2011-06-11 06:42:06 -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
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
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
John Bowler
ed4d32baa4
[devel] Improve "pngvalid --speed" to exclude more of pngvalid from the time.
2011-05-11 23:02:28 -05:00
John Bowler
d273ad2d0f
[devel] Implementation of premultiplied alpha support: png_set_alpha_mode
...
(libpng-manual.txt still to be updated, see png.h for documentation.)
2011-05-07 21:00:28 -05:00
Glenn Randers-Pehrson
4753906826
[devel] Update "last changed" dates and added CHANGES entry.
2011-05-05 07:32:30 -05:00
John Bowler
88b77cc6f3
[devel] Remove png_snprintf, add formatted warning messages.
...
This change adds internal APIs to allow png_warning messages to have parameters
without requiring the host OS to implelment snprintf. As a side effect the
dependency of the RFC1132 code on stdio is removed and PNG_NO_WARNINGS does
actually work now.
2011-05-05 06:49:55 -05:00
Glenn Randers-Pehrson
b3b7168077
[devel] Added appropriate feature test macros (_POSIX_SOURCE, _ISOC99_SOURCE)
...
to ensure libpng sees the correct API.
2011-05-03 22:30:19 -05:00
John Bowler
4a12f4a22a
[devel] Cleanup of conditional compilation code and of background/gamma
...
handling. Internal changes only except for a new option to avoid compiling
in the png_build_grayscale_palette API (which is not used at all internally.)
The main change is to move the transform tests (READ_TRANSFORMS,
WRITE_TRANSFORMS) up one level to the caller of the APIs.
2011-04-17 18:34:22 -05:00
Glenn Randers-Pehrson
dcc3505c7b
[devel] Imported from libpng-1.5.2.tar
2011-03-31 11:29:05 -05:00
John Bowler
9616ad9828
[devel] Revert png_get_current_row_number() to previous (1.5.2beta01) behavior.
2011-02-16 06:13:46 -06:00
Glenn Randers-Pehrson
cad6798a8c
[devel] Imported from libpng-1.5.2beta01.tar
2011-02-13 06:13:39 -06:00
Glenn Randers-Pehrson
c36bb79352
[devel] Trim trailing blanks from sources and manual
2011-02-12 09:49:07 -06:00
John Bowler
4d56296443
[devel] Implement expansion to 16 bits
2011-02-12 09:01:20 -06:00
John Bowler
5432c01ffd
[devel] Fix png_get_current_row_number in the interlaced case.
2011-02-12 08:59:17 -06:00
John Bowler
9c69360e97
[devel] Fix gcc -pendantic warnings, handle Cygwin longjmp fix png_read_png
2011-02-12 08:58:21 -06:00
Glenn Randers-Pehrson
3d3aae1697
--amend [devel] Imported from libpng-1.5.1.tar
2011-02-02 23:00:03 -06:00
John Bowler
afea7d19e0
[devel] Add-transform-tests-to-pngvalid-simplify-arguments
2011-01-28 06:38:14 -06:00
John Bowler
f21a0d0eee
[devel] Enhance pngvalid, correct an error in gray_to_rgb, correct doc error.
2011-01-23 23:55:19 -06:00
Glenn Randers-Pehrson
47457a01f7
[devel] Bump to version libpng-1.5.1rc01
2011-01-21 08:25:26 -06:00
John Bowler
168a433352
[devel] Eliminate more GCC shadow warnings
2011-01-16 19:32:22 -06:00
John Bowler
e2062f9fa0
[devel] Correct pngvalid gamma test to check each color sample, not just red.
2011-01-15 22:36:33 -06:00
Glenn Randers-Pehrson
f5ea1b7095
[devel] Imported from libpng-1.5.0.tar
2011-01-06 06:45:07 -06:00
Glenn Randers-Pehrson
64b863cd2a
[devel] Update copyright year and bump to version libpng-1.5.0rc07
2011-01-04 09:58:33 -06:00
John Bowler
56a739bf4e
[devel] Minor changes to work round warnings in gcc 3.4
2010-12-19 16:33:20 -06:00
John Bowler
660c6e4d70
[devel] Fixed interlace image handling and add test cases (John Bowler)
2010-12-19 06:22:23 -06:00
John Bowler
b54498edea
[devel] Enable the strip16 tests in pngvalid
2010-12-08 16:26:21 -06:00
Glenn Randers-Pehrson
6735058024
[devel] Added some white space in pngvalid.c
2010-12-07 16:13:22 -06:00
Glenn Randers-Pehrson
9f044c17fa
[devel] Added some whitespace in png.h and pngpriv.h, revised a comment
...
in pngvalid.c
2010-12-07 14:59:43 -06:00
Glenn Randers-Pehrson
f1cf90238b
[devel] Documented the pngvalid gamma error summary with additional comments
...
and print statements.
2010-12-07 14:40:33 -06:00
Glenn Randers-Pehrson
d546f4399f
[devel] Added the private PNG_UNUSED() macro definition in pngpriv.h.
...
(adapted from the UNUSED() macro in pngvalid.c by John Bowler)
2010-12-04 20:41:36 -06:00
Glenn Randers-Pehrson
38ef3a592c
[devel] Added whitespace and fixed typos in pngvalid.c comments.
2010-12-03 11:22:31 -06:00
Glenn Randers-Pehrson
a581556b17
[master] Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
...
Moved reading of file signature into png_read_sig (Cosmin)
Fixed atomicity of chunk header serialization (Cosmin)
Added test for io_state in pngtest.c (Cosmin)
Added "#!/bin/sh" at the top of contrib/pngminim/*/gather.sh scripts.
2010-11-20 21:48:29 -06:00
Glenn Randers-Pehrson
f0eda4e8d7
[devel] Imported from libpng-1.5.0beta51.tar
2010-10-15 15:08:42 -05:00