Hamish, from the rrdtool 1.3 manual page ... =item Size
[B<-w>|B<--width> I<pixels>] [B<-h>|B<--height> I<pixels>] [B<-j>|B<--only-graph>] [B<-D>|B<--full-size-mode>] 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 pixels. 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. cheers tobi 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 > barking). > > TIA > Hamish. > > _______________________________________________ > rrd-developers mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
