Linux: How to reduce pdf file size

#Using a single line of GhostScript command on my Ubuntu’s terminal, I was able to reduce the size of a PDF file from 6 MB to approximately 1 MB: gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -sOutputFile=output.pdf input.pdf # You can use the following parameters for -dPDFSETTINGS instead of /screen: # /screen – Lowest quality, lowest size (ugly) # /ebook – Moderate quality # /printer – Good quality # /prepress – Best quality, highest size
This is the tool I use when reducing size of pdf files is needed.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.