ebook pdf border remover

cropborder

cropborder is a little java-tool i wrote to remove the white border of a pdf file, to make it more readable on an ebook-reader.

cropborder example

the white margin around the content is very usefull when printed on paper, but is really anoying on an ebook-reader because it only makes the text smaller.

to use the tool call it with

java -jar cropborder.jar [-in <input.pdf>] [-out <output.pdf>] [-f ] [-l ] [-d ]

the default values for the parameter are

in.pdf for intput out.pdf for output 1.4 for the scaling factor and shift by -100, and -130 points (a point is a 1/72 inch)

the tool uses the iText library and is published under the "do whatever you like, but don't blame me if it goes boom"-Licence

Download

cropborder-0.1.zip