[rrd-developers] Patch: new --compression-level option

Vincent Pit rrdtool at profvince.com
Sat Jul 7 18:35:59 CEST 2007


Images are currently generated as fast as possible, but in some
situations CPU time is cheaper than bandwidth. This patch implements a
new --compression-level option for rrdgraph to adjust the compression
level (sic) of the graphs. It takes a nonnegative integer as its argument.
This setting has currently only a meaning for PNG images, where it is
used as the zlib compression level (i.e. 0 for no compression to 9 for
best compression). We can also imagine to use greater values to switch
between PNG compression methods (e.g 27 for the method 2 and compression
7). The default value has been kept to 1, like the current behaviour.
Specifying this setting has no incidence on all the other formats (it is
not rejected).


Vincent Pit.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rrdtool-compression-level.patch
Url: http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20070707/09f0c2f2/attachment.ksh 

More information about the rrd-developers mailing list