PDF: finding a blank image

Brian Brian.Mingus at colorado.edu
Mon Jul 13 19:26:26 EDT 2009


Perhaps your blank pages have a characteristic size. Or perhaps if you trim
them with `convert' (ImageMagick) there is nothing left.

On Mon, Jul 13, 2009 at 3:44 PM, DrLeif <l.lensgraf at gmail.com> wrote:

> I have about 6000 PDF files which have been produced using a scanner
> with more being produced each day.  The PDF files contain old paper
> records which have been taking up space.   The scanner is set to
> detect when there is information on the backside of the page (duplex
> scan).  The problem of course is it's not the always reliable and we
> wind up with a number of PDF files containing blank pages.
>
> What I would like to do is have python detect a "blank" pages in a PDF
> file and remove it.  Any suggestions?
>
>
> Thanks,
> DrL
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090713/170847bf/attachment.html>


More information about the Python-list mailing list