[EMAIL PROTECTED] wrote:

> I would need to apply a threshold value to the image, where everything 
> above a certain brightness level becomes white, and everything below the 
> level becomes black.
> How can I do that with PIL?

create a 256-item mapping table and pass it to the "point" method.

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to