Problem creating animated gif

Fredrik Lundh fredrik at pythonware.com
Tue Oct 17 16:08:34 CEST 2006


"abcd" <codecraig at gmail.com> wrote:

> Any ideas?  Basically I want to make an animated GIF out of a bunch of
> images taken using the ImageGrab module.

the screen is an RGB device, but the gifmaker wants palette images (mode P).
to fix this, insert

    im = im.convert("P")

after the grab (or before the call to makedelta).

</F> 






More information about the Python-list mailing list