PrivacyLocal
Optimization & Performance · 6 min read · Updated December 2026

How PDF Compression Works: Object Streams vs. DPI Raster Downsampling

Not all PDF bloat comes from the same source. Understanding the difference between uncompressed cross-reference tables and high-resolution embedded images lets you reduce file size by up to 80% while keeping text razor-sharp.

1. Diagnosing Why a PDF File Is Oversized

A multi-page PDF can exceed email attachment limits (typically 10 MB to 25 MB) for two completely different reasons. The first is structural overhead: unoptimized PDF exporters write verbose ASCII cross-reference tables, duplicate font subsets, and uncompressed metadata streams.

The second—and most common—cause is oversized raster images. A single smartphone scan or DSLR photograph embedded at 4000 × 3000 pixels can add 4 MB to 8 MB per page, even though standard screen reading and office printing only require 150 DPI.

2. Lossless Structural Compression (Object Streams)

Introduced in PDF 1.5, Object Streams (ObjStm) pack hundreds of small indirect dictionary objects into a single FlateDecode (zlib/DEFLATE) compressed binary stream. Enabling object stream compression alongside clean document rebuilding strips unused revisions and compresses structural overhead without altering a single font vector or image pixel.

For text-heavy contracts, financial reports, and CAD vector exports, lossless structural optimization alone frequently trims 20% to 45% of total file size with zero visual change.

3. Controlled Image DPI & JPEG Quality Balancing

When a document consists of scanned pages or embedded product photography, downsampling image resolution to a target DPI (dots per inch) delivers dramatic size reductions:

  • 72–96 DPI (Web & Email Drafts): Ideal for fast screen sharing and portal uploads under 2 MB; reduces image byte weight by 75%–85%.
  • 150 DPI (Standard Office & E-Filing): The sweet spot for readable contracts, invoices, and resumes with clean small-print legibility.
  • 300 DPI (Archival & Print Production): Preserves crisp serif typography and fine line art for commercial printing.