Copy Protected PDFs and PIL

Brett Bowman bnbowman at gmail.com
Thu Nov 11 16:26:03 EST 2010


Windows currently, though I also have a Linux box running Ubuntu if need be.

On Thu, Nov 11, 2010 at 12:28 PM, Brett Bowman <bnbowman at gmail.com> wrote:

> I'm trying to parse some basic details and a thumbnail from ~12,000 PDFs
> for my company, but a few hundred of them are copy protected.  To make
> matters worse, I can't seem to trap the error it causes: whenever it happens
> PIL throws a "FATAL PDF disallows copying" message and dies.  An automated
> way to snap a picture of the PDFs would be ideal, but I'd settle for a way
> to skip over them without crashing my program.
>
> Any tips?
>
> Brett Bowman
> Bioinformatics Associate
> Cibus LLC
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101111/4c45cbda/attachment-0001.html>


More information about the Python-list mailing list