Animated GIFs?!!?! Urgent Help
Freeserve UK
afonsosalcedo at ariana.freeserve.co.uk
Sun Nov 12 09:57:14 EST 2000
More information about the Python-list mailing list
Sun Nov 12 09:57:14 EST 2000
- Previous message (by thread): Animated GIFs?!!?! Urgent Help
- Next message (by thread): passing arguments to a code object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
in article kJuP5.4751$QH2.499596 at newsb.telia.net, Fredrik Lundh at fredrik at effbot.org wrote on 11/12/00 6:58 PM: > im = Image.open("in.gif") > sequence = [] > try: > while 1: > sequence.append(im.copy()) > im.seek(len(sequence)) # skip to next frame > except EOFError: > pass # we're done Just another note. I managed to display the animated GIF but I had to use the update_idletasks() otherwise I couldn't actually see the animation... Is there any way of looping the animation so that when it reaches the last frames restarts from the beginning? Thanks again and sorry for all the trouble, J. Salcedo
- Previous message (by thread): Animated GIFs?!!?! Urgent Help
- Next message (by thread): passing arguments to a code object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list