diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-03-17 20:13:53 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-03-17 20:13:53 +0100 |
commit | 5a34032fe4d83de1ccbf9cf8e13fc6bfb4f668ce (patch) | |
tree | 22961c3008efa7cfbab13f6c69c21d4e8807b8c5 /pdf.md |
Initial commit
Diffstat (limited to 'pdf.md')
-rw-r--r-- | pdf.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +# PDF operations + +## Merge + + gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf + +## Compress + + gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=output.pdf input.pdf + +## Extract pages + + pdfjam --outfile out.pdf in.pdf 1,3,4-7 |