From d5817adfc53c7615202119507b84f1011defbe1a Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 13 Apr 2005 19:53:41 +0000 Subject: [PATCH] have better default compression git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@405 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_gfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index bfcbfe5..ba4c02c 100644 --- a/src/rrd_gfx.c +++ b/src/rrd_gfx.c @@ -762,9 +762,9 @@ static int gfx_save_png (art_u8 *buffer, FILE *fp, long width, long height, lon png_set_text (png_ptr, info_ptr, text, 1); /* lets make this fast */ - png_set_filter(png_ptr,0,PNG_FILTER_NONE); + /* png_set_filter(png_ptr,0,PNG_FILTER_NONE); */ png_set_compression_level(png_ptr,1); - png_set_compression_strategy(png_ptr,Z_HUFFMAN_ONLY); + /* png_set_compression_strategy(png_ptr,Z_HUFFMAN_ONLY); */ /* png_set_filter(png_ptr,PNG_FILTER_TYPE_BASE,PNG_FILTER_SUB); png_set_compression_strategy(png_ptr,Z_HUFFMAN_ONLY); -- 2.11.0