pb Save canvas in jpg or gif format with v4.04

From: <alexis.cothenet_at_free.fr>
Date: Mon, 2 May 2005 09:45:22 +0200

Hi All,

I just to try 4.04 binary version for cygwin. The macro below doesn't work anymore for saving canvas in .gif or .jpg. (with 4.03 it was working for .gif only and in 4.02 for both :-) ) I have the message:
Error in <RootX11ErrorHandler>: BadMatch (invalid parameter attributes) (XID: 14680355, XREQ: 73) Is it a problem known ?

  {
 TCanvas * newcanvas = new TCanvas("newcanvas","newcanvas",710,10,700,500);   cout<<"for gif"<<endl;
 newcanvas->SaveAs("spectrum.gif");
 cout<<"for jpg"<<endl;
 newcanvas->SaveAs("spectrum.jpg");
}

Thank you very much for your help.

Regards,
Alexis Received on Mon May 02 2005 - 09:50:08 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET