From: oetiker Date: Wed, 13 Apr 2005 19:53:41 +0000 (+0000) Subject: have better default compression X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d5817adfc53c7615202119507b84f1011defbe1a;p=rrdtool.git have better default compression git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@405 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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);