Hide display when saving canvas to file


in my macro I am producing several canvases containing different histograms that I am saving as .gif files. Is there a way to make the program run faster by not displaying every single canvas, but only saving them without showing?

Thanks for your support!

Start root in batch mode:

$ root -b

Hm, I agree that this works in so far as it does not show the canvas any more, but unfortunately it is even more slow now! Is there any other possibility, something to implement in the macro maybe? Thanks for your help!

It is normal that your program takes more time when writing a gig, ps, pdf, png file, in particular if your disk
or file system is slow.


Okay, so there is probably nothing tha I can do about it. Thanks for your answer anyway!