From: oetiker Date: Wed, 13 Apr 2005 19:53:41 +0000 (+0000) Subject: have better default compression X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83ce126f390e02f642ff816efaeb9c4295d8b81e;p=rrdtool-all.git have better default compression git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@405 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index bfcbfe57..ba4c02c8 100644 --- a/program/src/rrd_gfx.c +++ b/program/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);