View Single Post
Old 11-04-2014, 03:41 PM   #1
EnergyLens
Hack
EnergyLens began at the beginning.
 
Posts: 34
Karma: 12
Join Date: Dec 2009
Device: Kobo Aura HD, Kindle Paperwhite
AutoCrop (OpenWith solution for Briss)

Here is a little script that can be called from the OpenWith plugin in Calibre to automate the use of Briss <http://sourceforge.net/projects/briss/> to Crop PDFs for easier reading on your eReader.

You need to make the file executable and edit this line in the file:

# Must specify the location of briss-0.9.jar on your system
path_to_briss = '/Applications/ebook tools/briss-0.9/briss-0.9.jar'

For those on Mac: I just updated to Yosemite and had to re-install Java to keep Briss working: <http://support.apple.com/kb/DL1572>

The program will make a copy of your original PDF and add an ORIGINAL_PDF filetype into the Calibre database (similar to ORIGINAL_EPUB). You can then try to teach your OS to open the ORIGINAL_PDF filetype with the PDF Reader of your choice (though Preview refuses... so I had to use Adobe on Mac).
Attached Files
File Type: zip AutoCrop.py.zip (1.9 KB, 792 views)
EnergyLens is offline   Reply With Quote