Trimming PDFs

More a note to myself than a blog post, but others using desktop Linux might find it useful.

So you scan a book — say, an antiquarian piece of obscure liturgy — but the flatbed glass is much larger than the book, so you get a big black box where the book ends. That’s a problem for two reasons: should I ever want to print out a copy of the PDF, the text will be small and the black box will use up tons of toner. Got to crop the text to the size of the book.

I’ve used command-line tools, but I’ve misplaced the recipe — should I find it or rediscover it, I’ll put it right here.

But a graphical interface can be good too. So I used PDF-Shuffler. It’s in the repositories/software center if you use Ubuntu Linux.

After I loaded the PDF I wanted to trip, I right clicked over one page — they all needed the same trim — and with trial-and-error decided what the right amount should be: it’s a percentage removed of the original document. Then I moused over the other pages, selecting them, and made the same crop. Don’t worry about double cropping a page; it only crops a percentage of the original size. Then — and this is not obvious — I exported the newly cropped doc with a new name.

Easy peasy.

3 Replies to “Trimming PDFs”

  1. Hey, sweetie. πŸ™‚ What OCR software do you use? I’d be interested in hearing how much clean up you have to do.

  2. *nods* I had heard of Tesseract, but when I looked into it, the installation seemed a bit hinky. S’all right, though. It’s more of a curiosity than a need. πŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.