[poppler] cropbox support for pdftotext

Michael Howard michael at uforlife.com
Thu Feb 3 11:37:33 PST 2011


I would like to restrict pdftotext to return only the text within the cropbox.

I see that pdftoppm supports a -cropbox parameter.

Unfortunately there is not a document -cropbox parameter for pdftotext
... consider this a feature request.

I can use the -f -l -x -y -W -H parameters if I can programmatically
determine the value of CropBox on a page-by-page basis ...

Q: How can I determine the values of the CropBox for each page in a .pdf file?


Thanks,
Michael


More information about the poppler mailing list