General ⇒ compress pdf, reduce graphics size selectively
compress pdf, reduce graphics size selectively
Such as a pdflatex switch or a tool to recompress the resulting pdf?
- One version with highest-dpi, non-lossy images where size does not matter.
- And one version with lower-dpi downsampled images with stronger lossy compression.
I could of course create different versions of the embedded images for each version, but that would get confusing quick, and it is hard to get the same dpi settings for various images embedded with size=1\textwidth
I am using texniccenter with miktex and pdflatex on windows.
I think I already embedded every vector graphic as eps/pdf where applicable. The remaining images have to be pixel graphics.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
compress pdf, reduce graphics size selectively
Code: Select all
\pdfcompresslevel=n % n=1,...,9
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: compress pdf, reduce graphics size selectively
Also, it is only lossless compression without any change in appearance, so savings are rather low.