Transparent GIFs in PIL

Steve Purcell stephen_purcell at
Thu Mar 22 18:53:48 CET 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.

I just checked; the latest version of PIL (1.1.1) would also need that patch
to support GIF transparency, as far as I can tell.


Steve Purcell, Pythangelist
Get testing at
Any opinions expressed herein are my own and not necessarily those of Yahoo

More information about the Python-list mailing list