[rrd-users] [rrd-developers] Rigid sizes for image...
tobi at oetiker.ch
Tue Nov 20 23:39:18 CET 2007
from the rrdtool 1.3 manual page ...
By default, the width and height of the B<canvas> (the part with
the actual data and such). This defaults to 400 pixels by 100
If you specify the B<--full-size-mode> option, the width and height
specify the final dimensions of the output image and the canvas is
automatically resized to fit.
If you specify the B<--only-graph> option and set the height E<lt>
32 pixels you will get a tiny graph image (thumbnail) to use as an
icon for use in an overview, for example. All labeling will be
stripped off the graph.
Today Hamish wrote:
> Am I barking, or did I see a discussion relatively recently (i.e. within the
> last few months) on being able to set the actual size of the image produced
> with rrdgraph, rather than having it worked out and made larger than
> requested (because you only request the size of the graph portion).
> I'm wanting to use the generated rrdgraph images as textures in an openGL
> application. And as such, opengl really prefers the textures to be a multiple
> of 2 in dimension... SOme opengl implementations seem to work OK with odd
> sizes, but some just prefer you to stick to the (Older) standards.
> So I really need to generate the images with the correct size (Yes I could
> scale them, but that just takes CPU resource that shouldn't be necessary).
> Did I imagine it? It doesn't seem to be a v1.3 feature... I was sure it was in
> 1.2.something, but the closest I can find is the -j flag which only does the
> graphed data... No legend, grids, titles etc...
> (And google doesn't find much either, src code for 1.2.26 suggests I'm
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the rrd-users