On Tue, Mar 14, 2006 at 10:52:01PM +0100, Toni de la Fuente wrote: > I obtain a png graph with w=491px and h=185px size but I need a > graph with w=350px and h=150px. If I use --height=150 and --width=350 > options I only can resize the canvas and If I use <img > src="db_traffic_day.png" width="350" height="150"> the image can't > see fine with almost all browsers.
I think these options (w and h) specify the inner part of the graph, not the entire image. Unfortunately rrdtool sometimes changes size of its legend and such, otherwise you would be able to reliably predict the size of an entire image. As a workaround you could try to use this option: -f (or: --imginfo). This won't give you what you're asking for right now but perhaps you can adapt the html page to the image you just created? -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
