Transparent GIFs in PIL

Oleg Broytmann phd at phd.pp.ru
Thu Mar 22 12:14:17 EST 2001


Hi!

   Tried to send the patch to PIL authors?

On Thu, 22 Mar 2001, Steve Purcell wrote:
> Marcos SАnchez Provencio wrote:
> > Is it possible to set a transparent color in a GIF file (originally not
> > transparent) in PIL?
>
> With PIL 1.0, not directly. For later versions (if they exist), I don't know.
> You can patch the PIL 1.0 version of 'GifImagePlugin.py' as follows:

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list