Just do: myCanvas->SaveAs("MyName.gif"); or myCanvas->Print("MyName.gif"); The file name extension tells which kind of format should be used. Olivier On Thu, 24 Jul 2003, zaldy wrote: > > Dear ROOT Users, > > How do you save a Canvas in gif format? > > I know the easiest, using a file menu. > But in the compile code, there is a method: > > myCanvas->SaveAs("MyName.ps"); > > Is there a method like: > > myCanvas->SaveAsGif("MyName.gif"); > > > I find the "gif" format advantageous, because it has small file size than > "ps" format. And also, it is easy to attach for PowerPoint presentation. > > Any Hint? > > Thanks. > > > -- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET