Hi byn,
some time ago, this report was made, matching your error and gs version.
Before you can upgrade ghostscript you may need to upgrade cygwin...come to think of it, if you upgrade cygwin it may come with a newer ghostscript anyway.
KR
Rainer
Theses, Books, Title pages ⇒ How to reduce file size of PDF output while compile with pdflatex
How to reduce file size of PDF output while compile with pdflatex
Hi Rais,
It works! Thanks, but for a file size of about 90MB, it can only reduce to about 84MB, how can you further reduce it to about 5MB?
Byn.
It works! Thanks, but for a file size of about 90MB, it can only reduce to about 84MB, how can you further reduce it to about 5MB?
Byn.
Re: How to reduce file size of PDF output while compile with pdflatex
Use high compression in LaTeX (e.g., \pdfcompresslevel=9 and \pdfobjcompresslevel=2), optimize or compress large images,
run Ghostscript or a third-party online like PDF Compressor to shrink your PDF further.
Code: Select all
gswin64c -dCompatibilityLevel=1.5 \
-dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile=out.pdf in.pdf