12-06-2012, 01:20 PM | #16 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Oct 2012
Location: Los Angeles
Device: Kindle Paperwhite 2019, Firmware 5.12.4
|
Thanks willus, I've used briss before, but I need a fully automated setup, where the bounding boxes are automatically calculated. Ghostscript can be made to do it, with some scripts.
http://stackoverflow.com/questions/8...tscript-to-pdf |
12-07-2012, 12:09 AM | #17 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
-mode copy -n -t This will copy the source file (-mode copy), keeping it in its native format (-n), but also trim each page to its bounding box (-t) as determined graphically by k2pdfopt. With k2pdfopt you can drop a folder full of PDF files onto the icon and it will batch process the entire folder. If you don't like how it names the output files, look into the -o option (command-line usage here). No other scripts or programs needed. The only issue with the above command is that it will not size each output page to the trimmed region exactly. It will keep the aspect ratio the same as the original source page, but this is also adjustable with the -w and -h options. Last edited by willus; 12-07-2012 at 10:02 AM. |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
starting with multiple files? | Alkiera | Sigil | 4 | 02-07-2011 02:03 AM |
Multiple CSS Files | jjm6383 | Sigil | 2 | 06-28-2010 05:44 PM |
Txt files - Convert to Epub - Multiple files into one book - noob help | Cernan | Calibre | 6 | 05-18-2010 10:12 AM |
Multiple Calibre Files? | Sydney's Mom | Calibre | 21 | 05-02-2010 10:42 AM |
Multiple HTML Files | JJH1947 | Calibre | 4 | 04-07-2009 10:24 AM |