save animated GIF in Python Image Library
csad7 at yahoo.com
Thu Feb 5 22:33:09 CET 2004
how can i save an animated GIF with PIL?
e.g. to rotate all frames of an image i tried the following:
im = Image.open('anim.gif')
for f in ImageSequence(im): #using the class from the PIL handbook
f = f.rotate(180)
problem is that only one frame (i guess the last one) is saved.
i could not find any options for saving GIFs in the handbook.
can this be done at all?
More information about the Python-list