[Image-SIG] palette mode animated GIF doesn't show correctly when frame > 1

최정욱 bobspoon at funnylab.co.kr
Mon Oct 31 17:50:47 CET 2005


Python 2.4

PIL 1.1.5

 

 

 

Hi,

I want to show a gif animation which using indexed color model.

I did like this:

 

             Import Image

             im = Image.open(‘animation.gif’) 

             try:

                           im.show() # for debug..

                           Im.seek(im.tell()+1) 

             except:

                           pass

 

when ‘animation.gif’ is in RGB mode, this code work as expected.

But when the gif image is in indexed(palettized) color mode, it does not
show correctly except first frame.

 

I feel this may be caused by something like color shift or palette
corruption ..

 

 

 

 

 

Image is here:

http://203.251.135.188/yoshin/animation.gif

 

 

Best reguard,

             Choi Jung-uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20051101/fb44c732/attachment.html


More information about the Image-SIG mailing list