ebook pdf border remover
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
Download
See also:
Processing EBook Beta - Door 24
rotated text in reportlabs
ReportLab Test
PDF for N770
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.
Wow! I could not even guess about it)) Not bad.
very nice and useful tool. One thing is not right, after process , the output is rotated 90 degrees to the left. I have to do "pdftk input.pdf cat 1-endR output.pdf" - this way i rotate it back :)