image exclude values from resize

T Kirstine travispython at gmail.com
Fri Mar 6 20:51:04 EST 2009


I've been  downsampling  RGB images using pil, but know I would like to
exclude black 0,0,0 values from the resize calculations.  I was hoping that
applying a alapha mask to black areas and creating RGBA image then
performing the resample would fix the issue but no such luck.

any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090306/34553887/attachment.html>


More information about the Python-list mailing list