Is possible to display animated image?for example this?
thanks:D

Re: animated image 80 80

Take a look at:
http://www.daniweb.com/code/snippet435.html

This example uses wxPython. Another option is mentioned in the DaniWeb Python Tutorials under Multimedia.

Re: animated image 80 80

Take a look at:
http://www.daniweb.com/code/snippet435.html

This example uses wxPython. Another option is mentioned in the DaniWeb Python Tutorials under Multimedia.

And is this possible with Tkinter???

Re: animated image 80 80

And is this possible with Tkinter???

I could never get animated GIF to work with Tkinter, or PIL and Tkinter!
However, you could include the webbrowser code.

Re: animated image 80 80

So you think this is impossible?:rolleyes:

Re: animated image 80 80

Well, the Tkinter Canvas create_image() and PIL's ImageTk simply show an unanimated GIF. I have no experience with any other image libraries that might work with Tkinter. You might have to google for a combination of Tkinter and animated GIF.

If your program is not too complex, rewrite it for wxPython. The wxPython GUI is much more advanced than Tkinter!

Re: animated image 80 80

Well, the Tkinter Canvas create_image() and PIL's ImageTk simply show an unanimated GIF. I have no experience with any other image libraries that might work with Tkinter. You might have to google for a combination of Tkinter and animated GIF.

If your program is not too complex, rewrite it for wxPython. The wxPython GUI is much more advanced than Tkinter!

yes sure i can, there is not a lot of widgets. But i dontk know wx method like Canvas.find_overlapping,lift,delete and so...I havent much experience with wx:(( there is a lot of images( i am doing a game:))

Re: animated image 80 80

Since an animated GIF is basically a series of individual GIFs, you can mimic an animated GIF on Tkinter. Take a look at:
http://www.daniweb.com/techtalkforums/post225611-64.html

Re: animated image 80 80

Hey vega, that works pretty smooth!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.