[Image-SIG] Scan Image for blank spots using PIL

Greg Corradini gregcorradini at gmail.com
Sun Aug 7 18:09:02 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20110807/99c3da0d/attachment.html>


More information about the Image-SIG mailing list