How PDF Compression Works: Quality Setting, Savings, and Image-Heavy vs Text-Heavy PDF Behaviour
PDF compression is not a single method — behind the scenes, Ghostscript, iText7 and a raster fallback race against each other and the smallest result wins. Image-heavy PDFs shrink 50-80%; text-heavy PDFs only save 5-25%. This guide covers what the 10-95 quality setting really means, how to pick a value, what to do with encrypted PDFs, and why repeated compression hurts your file.