Beyond the Compress Button: What Actually Happens When You Shrink a PDF
Once you understand the basics of PDF compression, the next step is understanding what's actually happening to your document when you hit that button. My co‑founder and I spent a lot of time building SaveVex's compression pipeline, and the internals are more interesting than most people realize. Knowing them helps you make smarter decisions about when to compress, how aggressively, and what to watch out for.
The Anatomy of a PDF (What You're Actually Compressing)
A PDF isn't one monolithic file — it's a structured container. Think of it as a zip file with rules. Inside, you'll typically find:
- Vector text instructions — "Draw these letters at these coordinates." This is why PDF text stays sharp at any compression level.
- Embedded images — Usually JPEG, JPEG2000, or raw bitmap data. This is where most of the file size lives.
- Font data — Either the full font file or a subset containing only the characters used.
- Metadata — Author, creation date, software version, editing history.
- Structural objects — Page trees, cross-reference tables, bookmarks, annotations.
When you compress a PDF, you're not "shrinking" it — you're selectively reducing or removing components. The text stays the same. The images get resampled and recompressed. The metadata gets stripped. The font data gets subsetted further if possible.
Image Resampling: The Biggest Lever
Image resampling is where the real size savings happen. Here's the key insight: a 300 DPI image embedded in a PDF isn't inherently better than a 150 DPI version — it just has more pixels than the display can actually show at that size.
When you choose Medium compression, the compressor resamples images to roughly 150 DPI. At this resolution, text and line art in the image remain legible, photos look crisp on screen, and the file size drops significantly. The trade-off is that if someone zooms in to 400% on a photo, they'll see pixelation that wasn't there in the original. For most use cases, that's a trade worth making.
High compression takes images down to 72-100 DPI. At this level, photos start to show visible softening even at normal zoom. Fine details — text in a screenshot, hair in a portrait, patterns in a chart — start to blur. High compression makes sense when file size is the absolute priority and image quality is secondary.
Font Subsetting: Small Savings That Add Up
This is a detail most people miss. When you create a PDF in Word or a design tool, the software often embeds the entire font file — every character from A to Z, plus all the symbols, ligatures, and alternate glyphs you didn't use. That could be several hundred kilobytes per font, multiplied by every font in the document.
A good compressor identifies exactly which characters you actually used and keeps only those. If your 50‑page report uses only the standard English alphabet plus a handful of punctuation marks, the embedded font drops from ~200 KB to ~20 KB. Across four fonts, that's nearly a megabyte saved — without touching a single image.
Object Deduplication: Why Your Logo Shouldn't Cost You 50 Pages
Here's a scenario I've seen repeatedly: a company letterhead or presentation template has the logo on every page. In the original PDF, that logo image is stored once per page. For a 50‑page document, that's 50 copies of the same image — even though it's identical every time.
A proper compressor identifies these duplicate objects and stores one copy, with every page referencing that single instance. The savings from this alone can be dramatic — I've seen logo-heavy corporate documents shrink by 30-40% before any image resampling even kicks in.
When Compression Goes Wrong: Edge Cases to Watch For
Scanned documents with handwritten annotations. The scanner sees the handwriting as part of the image. Aggressive compression can make small handwritten notes illegible. For documents with fine handwritten details, stick to Low compression.
PDFs with embedded charts and graphs. Thin lines, small axis labels, and subtle color gradients are the first things to degrade under heavy compression. If your PDF has data visualizations, Medium compression is usually safe, but always preview the charts carefully before sharing.
Mixed content on the same page. A page with both text and a photo can be tricky. The text stays sharp (it's vector), but the photo softens. On the same page, this contrast can be jarring — crisp text next to a visibly compressed photo. Medium compression minimizes this; High compression makes it obvious.
Color space conversions. Some compressors convert CMYK images to RGB, which saves space but can shift colors slightly. If color accuracy matters — for a design portfolio, a product catalog, or brand assets — verify the color reproduction after compression.
Pro Tips
Always compress from the original. Each compression pass degrades images cumulatively. If you compress, don't like the result, and recompress the already-compressed file, you're compounding the quality loss. Always start over from the uncompressed original.
Text is never the problem. Because PDF text is stored as vector instructions, not images, it's immune to compression artifacts. If your PDF is all text and no images, compression won't help much — but it also can't hurt.
Use the right tool for the right job. For PDFs you're creating yourself, optimize images before embedding them. For existing PDFs, use a browser-based compressor that processes locally. The fewer times your file travels across a network, the better.
Check interactive elements after compression. Form fields, hyperlinks, and bookmarks should survive compression intact in a good tool (SaveVex preserves them), but not all compressors do. If your PDF has forms or links, verify them after compressing.
Share this article
More Articles
Why Support SaveVex? — A Personal Invitation
SaveVex has always been free. But keeping it free isn't free. Here's why your support matters — and how you can help.
Aug 3, 2026
Meet Sneitech Inc. — The Company Behind SaveVex
Learn about Sneitech Inc., the software development firm behind SaveVex. Discover our mission, our team, and our commitment to building privacy-first digital tools.
Jul 28, 2026