diff options
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 |