Dear ROOT
My version of ROOT is 3.04/02
The machine I am working on is a laptop SIEMENS, Pentium(r) Processor, 64Mo
RAM under Windows Me.
I am programming under WINDOWS VISUAL C++.
I am doing SEVERAL fits of gaussian curves in the SAME canvas.
I wish to save each of these fits into .png, .gif or any other image format
that can easily be read by usual applications.
One of your pages in the tutorials explains how to do it :
http://root.cern.ch/root/html/examples/pad2png.C.html
However if I follow these instructions, I get no error message while
compiling or linking, but when I execute the program I get the message :
Error in <TWinNTSystem::DynamicPathName>: AsImage does not exist in
.;d:\root\bin;c:\windows;c:\window\command;d:\root\bin
or has wrong file extension (.dll)
Then I heard TImage came from a software called "AfterStep" under Linux and
the same thing did not exist under Windows. Is that true?
I therefore tried four other things :
1/
((TGWin32*)gVirtualX)->WriteGIF("test.gif");
2/
Int_t canvasid = canvas->GetCanvasID();
gVirtualX->SelectWindow(canvasid);
gVirtualX->WriteGIF("test.gif");
3/
canvas->SaveAs("test.gif");
4/
canvas->Print("test.gif");
But for each of them :
*No message when compiling
*No message when linking
*The program executed as usually
*However NO .gif file was created
Can you please help me?
Thanks a lot for your help
Pascal
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET