View Single Post
Old 11-05-2010, 11:14 PM   #168
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
Example usage:
briss-0.0.10.jar [[source.pdf] [destination] [coordinates] [coordinates] [coordinates] ...]
java -jar briss-0.0.10.jar in.pdf out.pdf 55:100x105:200 120:200x400:300

This would provide both automation and precision to the act of cropping PDFs
I'm sure you've got lots of things to do but please consider adding this functionality.
You could do something very similar with the pdfmanipulate crop command line tool that comes with calibre. (True it only lets you do one crop box per page, but you could do it twice and then merge the two results with any number of tools.... perhaps even with pdfmanipulate (merge) itself with the right script. I'm pretty sure I could whip up a bash script for mac/linux for this without too much trouble.)
frabjous is offline   Reply With Quote