Skip to content

Split some conference paper PDFs like a boss

Notifications You must be signed in to change notification settings

blkbsstt/hotdogbun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hotdogbun.py

This is a fork of the excellent conference paper splitting script hotdogbun by cscorley.

Let's split some conference papers in half so we can read them on smaller devices in continuous scroll mode instead of fumbling around on the screen like idiots.

All this script does is split each page of a PDF down the middle, hotdog bun style. It also tries to determine the bounding box of the PDF content to create more balanced margins.

Usage

To split a file './paper.pdf': python2 hotdogbun.py ./paper.pdf

That's it. Your split pdf will be located at './paper-split.pdf'

Requirements

Right now, this script uses the PyPDF2 and pgmagick python packages. pgmagick is a wrapper around the GraphicsMagick library which uses the Magick++ API through boost.python. Both required packages can be installed through pip.

....Hotdog bun?

python2 .py =======>

... basically.

About

Split some conference paper PDFs like a boss

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%