Hi,
I’m using ROOT 4.04.02b that I have compiled from source on my system (scientific Linux 4.3) with opengl fetaure.
When I use the method TCanvas::SaveAs(“name.gif”), the gif file doesn’t have the canvas image but an image of the active window on my system (in most of the cases I have an image of the shell). This doesn’t happen if I save an eps file.
No … many things have changed since that version … I can check if you really need an answer, but that may takes time. 4.04.02b is almost 2 years old (we are at 5.14 now).
One which machine are you running ?
Do you produce the gif in batch mode ? (any canvas opened)
Well I’m using this kind of version to be 100% compatible with the version that is included in the release tag of my analysis.
My machine is a Linux i686, and I’m not running in batch mode. The canvas displays the correct plot, only the gif file has this strange behaviour.
Anyway I dont’t want to bother with this issue, if is time consuming to solve it. All in all
I can create the eps file and then produce the gif file using “convert”.
Or maybe I can try to recompile ROOT using different options and see what happens.
I am surprised that it does not work if you are not in batch mode, because this feature is working for a long time in “non-batch” mode. The last developments in that area were to make it work in batch mode.