save animated GIF with Python Image Library
christof.hoeke at e-7.com
christof.hoeke at e-7.com
Thu Feb 5 05:18:28 EST 2004
More information about the Python-list mailing list
Thu Feb 5 05:18:28 EST 2004
- Previous message (by thread): csv module usage in w2k -> lineterminator in dialect?
- Next message (by thread): Smarter way of doing this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hi,
how can i save an animated GIF with PIL.
e.g. i like to rotate all frames of an image and tried the following:
im = Image.open('anim.gif')
for f in ImageSequence(im): #using the class from the PIL handbook
if f:
f = f.rotate(180)
im.save('animrotated.gif')
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?
thanks
christof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040205/095b41cc/attachment.html>
- Previous message (by thread): csv module usage in w2k -> lineterminator in dialect?
- Next message (by thread): Smarter way of doing this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list