printing in Batch mode & picture size

From: Nevzat Guler <nguler_at_jlab.org>
Date: Tue, 12 Feb 2008 17:26:06 -0500 (EST)

	Hello,
	I am using root Version  5.14/00e
	While creating gif files in batch mode, for some reason I have to
do the following (otherwise it does not wor):

   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 Tue Feb 12 2008 - 23:26:15 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 13 2008 - 11:50:01 CET