I collect light. RSS

My blog.

Archive

Jun
10th
Wed
permalink

On Reducing the File Size of a PDF

For SoFoBoMo, I need to upload a PDF of my book that is less than 15 megabytes. Since I intend to print my book, the PDF at high-res is 90 megabytes! After some research, I found that ghostscript can down-size PDFs by reducing the resolution of the images it contains. Here’s the command to downsize Portraits.pdf (90MB) to Portraits_low.pdf (8MB):


gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=Portraits_low.pdf -dPDFSETTINGS=/ebook Portraits.pdf