Newsgroups: comp.lang.python
From: "Fredrik Lundh"
Date: Monday May 1, 2006
Daniel Nogrady wrote:
'The original distribution of version 1.1.4 comes with scripts where you can find player.py, gifmaker.py and explode.py that deal with animated gifs. ''
they still come with 1.1.5 (and 1.1.6) and they should work.
If all you are missing is a few files from the script directory, you can get them here:
http://svn.effbot.org/public/pil/Scripts/
player.py is launched from the command line
see if this works for you:
from Tkinter import * from PIL import Image, ImageTk class MyLabel(Label): def __init__(self, master, filename): im = Image.open(filename) seq = [] try: while 1: seq.append(im.copy()) im.seek(len(seq))
source share