Help needed: seek() method in PIL

Rainer Deyke root at rainerdeyke.com
Tue Nov 14 00:28:13 CET 2000


"Freeserve UK" <afonsosalcedo at ariana.freeserve.co.uk> wrote in message
news:B6361969.6CF%afonsosalcedo at ariana.freeserve.co.uk...
> Hi all,
>
> I've been trying to use the .seek() method to access specific frames in
> animated gif files...
>
> But the thing is. Everytime I import a reasonably large anim gif, all the
> frames after I use the .seek() method and display the image, appear with
> missing pixels...

Animated gifs are designed so that each frame only contains pixels that are
different from the previous frames.  To get complete frame n, you need to
composite frames 0..n.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list