Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:pdf [2013/10/30 22:39] cyril |
software:pdf [2014/10/20 08:41] (current) cyril [pdfjam] |
||
---|---|---|---|
Line 26: | Line 26: | ||
===== pdfjam ===== | ===== pdfjam ===== | ||
+ | * split and merge:< | ||
+ | pdfjam file1.pdf ' | ||
+ | </ | ||
* set multiple pages in one:< | * set multiple pages in one:< | ||
pdfjam --nup 2x1 --landscape true --frame false file.pdf | pdfjam --nup 2x1 --landscape true --frame false file.pdf | ||
+ | </ | ||
+ | * quickly rotate (pdf90, pdf180, pdf270):< | ||
+ | pdf90 file1.pdf | ||
</ | </ | ||
Line 34: | Line 40: | ||
* crop pages (here remove 14% of page height at the bottom):< | * crop pages (here remove 14% of page height at the bottom):< | ||
sed ' | sed ' | ||
- | </ | + | </ |
===== convert (image magick) ===== | ===== convert (image magick) ===== | ||
Line 41: | Line 47: | ||
< | < | ||
convert page-*.png -page A4 [-rotate 90] test.pdf | convert page-*.png -page A4 [-rotate 90] test.pdf | ||
+ | convert -density 300x300 test.png test.pdf | ||
+ | convert -units PixelsPerInch -density 300x300 -extent 2480x3508 -gravity center -background white test.png test.pdf | ||
</ | </ | ||
+ | Convert pdf page into image file at resolution 300dpi: | ||
+ | < | ||
+ | convert -density 300x300 test.pdf test.png | ||
+ | </ | ||
===== pdftotext ===== | ===== pdftotext ===== | ||