Added pdf compression script
This commit is contained in:
parent
368b12928a
commit
cd81717f0b
1 changed files with 12 additions and 0 deletions
12
pdfcompress.sh
Executable file
12
pdfcompress.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
name=$1
|
||||
gs \
|
||||
-dNOPAUSE \
|
||||
-dBATCH \
|
||||
-sDEVICE=pdfwrite \
|
||||
-dQUIET \
|
||||
-dCompatibilityLevel=1.4 \
|
||||
-dAutoRotatePages=/None \
|
||||
-dPDFSETTINGS=/ebook \
|
||||
-sOutputFile="$name-ebook.pdf" \
|
||||
"$name"
|
Loading…
Add table
Reference in a new issue