[Image-SIG] PATCH: Palette fix for FLI/FLC animations.
cja at gmx.net
Sun Aug 12 14:18:54 CEST 2007
PIL assumes that the palette is always the first frame in FLI/FLC
this is not always the case. (For example, trying to load a FLC animations
Civlization III results in the usage of the PIL default grayscale palette.)
After having a look at some FLI/FLC documentation I did some small changes
FliImagePlugin.py and managed to get the palette correctly loaded.
Please see the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1268 bytes
Desc: not available
Url : http://mail.python.org/pipermail/image-sig/attachments/20070812/a57ac17c/attachment.obj
More information about the Image-SIG