[Image-SIG] remove an image background using PIL
colorpyen at gmail.com
Thu May 28 22:53:22 CEST 2009
Thanks for your quick response. The background is unknown at the time of
processing. Actually I don't need a very accurate methodology to remove all
background, removing partially is good enough.
imagick has method like floodfill, curious how to do that with PIL.
thanks a lot
On Thu, May 28, 2009 at 1:43 PM, Fredrik Lundh <fredrik at pythonware.com>wrote:
> On Thu, May 28, 2009 at 10:22 PM, Peter Yen <colorpyen at gmail.com> wrote:
> > Is there any sample code to use PIL to remove the image background and
> > it transparent? Any help and advice is highly appreciated.
> Depends on what the background is. The further it is from "a single
> known color", the harder it gets.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Image-SIG