Scan Image for Blank Spots using PIL

Greg Corradini <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <CAHwr+Ynbrji4CtR-BjOSOE1f0FVJaX+3WMoxDvGvM8Am4gEtew@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.