[Image-SIG] Making the "outside" of an image transparent

Fredrik Lundh fredrik at pythonware.com
Wed May 10 18:17:20 CEST 2006


Paul Moore wrote:

> So I can get transparency set, but I still don't know a good flood
> fill algorithm.

eric raymond posted a nice implementation last year, which will go
into 1.1.6:

    http://article.gmane.org/gmane.comp.python.image/1753

(note that his code doesn't work on PIL Image objects; mapping this
to corresponding PIL methods is left as an exercise etc etc)

</F>





More information about the Image-SIG mailing list