Your message dated Fri, 24 Jul 2015 10:27:24 +0000
with message-id <[email protected]>
and subject line Re: please enable compression for png images
has caused the Debian Bug report #425352,
regarding please enable compression for png images
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
425352: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425352
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rrdtool
Version: 1.2.15-0.3
Severity: wishlist
Tags: patch
Please enable better compression for png images that are output by
rrdtool. This simple patch should do just that:
--- rrdtool-1.2.15/src/rrd_gfx.c.eerst 2007-05-21 09:28:03.430687978 +0200
+++ rrdtool-1.2.15/src/rrd_gfx.c 2007-05-21 09:26:50.913141309 +0200
@@ -827,7 +827,7 @@
/* lets make this fast while ending up with some increass in image size */
png_set_filter(png_ptr,0,PNG_FILTER_NONE);
/* png_set_filter(png_ptr,0,PNG_FILTER_SUB); */
- png_set_compression_level(png_ptr,1);
+ png_set_compression_level(png_ptr,Z_BEST_COMPRESSION);
/* png_set_compression_strategy(png_ptr,Z_HUFFMAN_ONLY); */
/*
png_set_filter(png_ptr,PNG_FILTER_TYPE_BASE,PNG_FILTER_SUB);
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages rrdtool depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii librrd2 1.2.15-0.3 Time-series data storage and displ
ii zlib1g 1:1.2.3-13 compression library - runtime
rrdtool recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: rrdtool
Source-Version: 1.3.0-1
Hello
Bas Zoetekouw wrote:
> Please enable better compression for png images that are output by
> rrdtool. This simple patch should do just that:
> - png_set_compression_level(png_ptr,1);
> + png_set_compression_level(png_ptr,Z_BEST_COMPRESSION);
Witold Baryluk wrote:
> I see rrdtool now uses cairo for pdf,eps,svg and png creation.
> I suppose cairo uses default compression level (6).
I can confirm png files are now compressed. I'm not sure about the
level, but it's somewhat around 6.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
-- Nirgal
--- End Message ---