animated image

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Mar 2006
Posts: 56
Reputation: Blujacker is an unknown quantity at this point 
Solved Threads: 1
Blujacker Blujacker is offline Offline
Junior Poster in Training

animated image

 
0
  #1
Jun 15th, 2006
Is possible to display animated image?for example this?
thanks
Last edited by Blujacker; Jun 15th, 2006 at 11:18 am.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,141
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 947
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: animated image

 
0
  #2
Jun 15th, 2006
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.
Last edited by vegaseat; Jun 15th, 2006 at 11:33 am.
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 56
Reputation: Blujacker is an unknown quantity at this point 
Solved Threads: 1
Blujacker Blujacker is offline Offline
Junior Poster in Training

Re: animated image

 
0
  #3
Jun 15th, 2006
Originally Posted by vegaseat
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???
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,141
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 947
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: animated image

 
0
  #4
Jun 15th, 2006
Originally Posted by Blujacker
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.
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 56
Reputation: Blujacker is an unknown quantity at this point 
Solved Threads: 1
Blujacker Blujacker is offline Offline
Junior Poster in Training

Re: animated image

 
0
  #5
Jun 15th, 2006
So you think this is impossible?:rolleyes:
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,141
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 947
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: animated image

 
0
  #6
Jun 16th, 2006
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!
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 56
Reputation: Blujacker is an unknown quantity at this point 
Solved Threads: 1
Blujacker Blujacker is offline Offline
Junior Poster in Training

Re: animated image

 
0
  #7
Jun 16th, 2006
Originally Posted by vegaseat
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)
Last edited by Blujacker; Jun 16th, 2006 at 12:14 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,141
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 947
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: animated image

 
0
  #8
Jun 17th, 2006
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/techtalkforum...225611-64.html
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 138
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: animated image

 
0
  #9
Jun 17th, 2006
Hey vega, that works pretty smooth!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum


Views: 2563 | Replies: 8
Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC