Hi,
Simply do:
c1.Print("temp.gif")
That should work with 5.14 (according to the release note I just checked).
Cheers, O.Couet
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
On Behalf Of Nevzat Guler
Sent: Tuesday, February 12, 2008 11:26 PM
To: Root Group
Subject: [ROOT] printing in Batch mode & picture size
Hello, I am using root Version 5.14/00e While creating gif files in batch mode, for some reason I haveto
if(gROOT->IsBatch())
{
c1.Print("temp.eps"); gSystem->Exec("pstopnm -ppm -xborder 0 -yborder 0 -portrait temp.eps"); char tempCommand[300]; sprintf(tempCommand,"ppmtogif temp.eps001.ppm > %s",picName); gSystem->Exec(tempCommand);
But, this creates a picture of certain size. Even if I change the canvas
size to bigger dimensions, I still get the gif file in certain fixed
dimensions..
Is there a way around this? I suspect the xborder and yborder values are
the solution to my problem but I am not sure what to put for them..
Thank you for any input.
Nevzat Guler Received on Wed Feb 13 2008 - 09:46:29 CET
This archive was generated by hypermail 2.2.0 : Wed Feb 13 2008 - 17:50:01 CET