I don't believe there's a function. I've read about people making functions that save a postscript [1], and open a command shell to instruct ImageMagick to conver it, and I've read about people using software that bridges tkinter with PIL [2].
As for storing animations, I've never heard of people doing that with tkinter. Related wiki articles: * http://tkinter.unpythonic.net/wiki/Images [1] tkinter.Canvas.postscript: http://infohost.nmt.edu/tcc/help/pubs/tkinter/canvas-methods.html [2] the ImageTk module http://www.pythonware.com/library/pil/handbook/imagetk.htm 2009/9/30 Protosssword <xs...@hotmail.com> > Dears,: > > I use canvas to make animation by continuously displaying objects. > Now I want to export what is displayed in canvas to an image file(.bmp, > jpeg,png,... is OK) > Is there such function in tkinter and how can I attain this? > > Thank you very much! > > Shengxu > > ------------------------------ > 立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载! <http://im.live.cn/safe/> > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss > >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss