[texhax] Smaller image-heavy pdf

Peter Wilson herries.press at earthlink.net
Sat Nov 24 19:26:50 CET 2018


Have you tried:    > ps2pdf in.pdf out.pdf

which has given me file size reductions of about 75%

Peter W.

On 24/11/18 14:19, Daniel Nemenyi wrote:
> Dear all,
> Would anyone be able to recomend a strategy for generating an 
> image-heavy pdf with a smaller filesize, say, for email distribution, 
> as well as the regular one for print? I currently employ a ghostscript 
> command to reduce my print-size pdf for me [0], and it does what I'd 
> like it to but unfortunately it breaks all my \url{} and \href{}{} 
> links. Maybe someone knows a bit of ghostscript magic?
> I've tried pdfsizeopt [1] which reduces the size of a 87M pdf to 78M, 
> but I'm more aiming for something like the 3.4M that ghostscript outputs.
> Thanks
> Dan
> [0] $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 
> -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf 
> input.pdf
> [1] https://github.com/pts/pdfsizeopt
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org

More information about the texhax mailing list