Wednesday, March 27, 2019

reducing pdf size from the commandline

A very useful trick, from
https://unix.stackexchange.com/questions/274428/how-do-i-reduce-the-size-of-a-pdf-file-that-contains-images

using gs,

gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -q -o output.pdf file.pdf

No comments:

Post a Comment