ebook pdf border remover
Posted by Nikolaus Gradwohl
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.

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 <scaling factor>] [-l <dots to move the left border>] [-d <dots to move the lower border>]
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
i also made a project page for it


very cool!
Fantastic !!!! You're code work just fine on ubuntu. Before i try many progs (perl,cli,gui), but this is BEST!!! Try post link on site with umpc or mobile reader and pda reader.