Last active 4 months ago

Вариант уменьшения pdf

botanikanet revised this gist 4 months ago. Go to revision

No changes

botanikanet revised this gist 1 year ago. Go to revision

1 file changed, 7 insertions

pdf shrink (file created)

@@ -0,0 +1,7 @@
1 + gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
2 +
3 + Here's a full list of the dPDFSETTINGS to choose from (based on this link):
4 + -dPDFSETTINGS=/screen — Low quality and small size at 72dpi.
5 + -dPDFSETTINGS=/ebook — Slightly better quality but also a larger file size at 150dpi.
6 + -dPDFSETTINGS=/prepress — High quality and large size at 300 dpi.
7 + -dPDFSETTINGS=/default — System chooses the best output, which can create larger PDF files.
Newer Older