Hi Seung-Ho, do for example in your script in the draw loop (example from hsimple.C): if (i && (i%kUPDATE) == 0) { if (i == kUPDATE) hpx->Draw(); c1->Modified(); c1->Update(); sprintf(gif, "/tmp/gifs/pict_%.3d.gif", gifcnt++); // add c1->SaveAs(gif); // add if (gSystem->ProcessEvents()) break; } } this will create a set of gif files. Now use a tool like http://www.lcdf.org/~eddietwo/gifsicle/ to make a single animated gif from these sequential gifs using: gifsicle --delay=10 --loop *.gif > ../anim.gif The result can be seen at: http://root.cern.ch/root/images/anim.gif Cheers, Fons. Seung-Ho Han wrote: > > Hi rooters, > > I want to send my dynamic motion picture to my friends, which is the > result of ROOT. > > What should I do for that work? > > That is, I want to make a mpeg file or a gif-format file with many > frames. > > Thank you. > > Seung-Ho -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET