note
haukex
<blockquote><i>For your PDF files, what does <c>gs</c> do or not do which reduce the PDF file size? Is it mainly <c>ebook</c> option?</i></blockquote>
<p>Yes, I've found [https://www.ghostscript.com/doc/9.26/VectorDevices.htm#distillerparams|the <c>ebook</c> option] a convenient way to downsample the resolution of the images embedded in a PDF to 150 DPI. So this script will have a significant effect on PDF files that are large due to them containing high-resolution images (like scans), and less of an effect on PDFs that are already smaller than ~1MB.</p>
11116343
11116351