[devel] Revised pngtest.c to set the zlib strategy, and restored pngtest.png

This commit is contained in:
Glenn Randers-Pehrson 2011-03-31 21:14:55 -05:00
parent 4a392c74cf
commit 6bdea98992
2 changed files with 4 additions and 0 deletions

View File

@ -913,6 +913,10 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname)
# endif # endif
#endif #endif
#ifdef PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION
png_set_text_compression_strategy(write_ptr, Z_FILTERED);
#endif
if (status_dots_requested == 1) if (status_dots_requested == 1)
{ {
#ifdef PNG_WRITE_SUPPORTED #ifdef PNG_WRITE_SUPPORTED

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB