I'd like to use PIL to prep an image file to improve OCR quality.

Specifically, I need to filter out all but black pixels from the image (i.e., 
convert all non-black pixels to white while retaining the black pixels).

Can someone please direct me to the appropriate PIL function/method to 
accomplish this along with a brief description of the correct arguments to use?

Thanks for your help.

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

Reply via email to