Scan Image for blank spots using PIL
Greg Corradini <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CAHwr+YmjYLWYbXXk7aqLKo_2MBmSmXqZcPCCBtnorRn4kMqJbg@mail.gmail.com> |
Hello, I want to use PIL to scan a newly created image for possible corrupt (blank) pixels. The PIL documentation doesn't seem to mention what value a blank pixel might have (I assume it would come back as None). I'm not sure what to test for. I see the Image module has a verify function<http://www.pythonware.com/library/pil/handbook/image.htm>, but I'm not sure if that covers validating that pixels are not blank. Any ideas? Thanks _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig