From 6bdea98992d3b0c71c6473aa3e1786439168dad2 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Thu, 31 Mar 2011 21:14:55 -0500 Subject: [PATCH] [devel] Revised pngtest.c to set the zlib strategy, and restored pngtest.png --- pngtest.c | 4 ++++ pngtest.png | Bin 8669 -> 8665 bytes 2 files changed, 4 insertions(+) diff --git a/pngtest.c b/pngtest.c index 4911c0e61..510694199 100644 --- a/pngtest.c +++ b/pngtest.c @@ -913,6 +913,10 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) # endif #endif +#ifdef PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION + png_set_text_compression_strategy(write_ptr, Z_FILTERED); +#endif + if (status_dots_requested == 1) { #ifdef PNG_WRITE_SUPPORTED diff --git a/pngtest.png b/pngtest.png index 47d9f7e3215171f7014cfe046bf256669fcee3d1..cdf10da7da6a67a8f50c6eb44c248e70ea6ab202 100644 GIT binary patch delta 228 zcmVV=-0C=2D%Rx%SKoAAceNOS03Nv9q z@C4#c9pVtzJ>5S^K~mLpRYr1qx4!)wsD+IM_XAfp7Y}MCY{Domrg)0&8ACd7YbmpJ zBb$pUUi!-kyNk|V=-0C=2Dk4&EN?Z*y_vE1P!;leW+zUhfh=O7qV96=I}U#F{TI<#QTFK@}`pMJl^C9S-u zBXOZP`3hTd*5Y7sDpM^>(8crOyT(U03_KCWV7L(pqRNAcSID&%{de&k?t}*igeI%` iJ{OH-e_QLn+`a&A2v;MnKj~lq0000