Manipulating GIF image frames w/ PIL - where'd my palette go?

S

skip

I'm unclear how PIL handles multi-frame GIF images. I have such a GIF image
in a file, bogus.gif. I can view the individual frames like so
(ImageSequence is from the PIL tutorial):
... frame.show()

All but the first image appears black-and-white. They apparently lose the
color palette associated with the overall image. The palette for the
original image and the individual frames is the same, the histograms suggest
they have more than two colors and both the image the frames have mode 'P'.
What have I missed?

Thx,

Skip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top