OCR & Container Tuning
Controlling PDF/A Archive Bloat & Originals Disk Growth
Understand why Paperless-ngx keeps both originals and OCR-layered PDF/A copies, and tune DPI/JBIG2 settings to cut storage bills by 40%.
1.6x-2.2x Raw Scan Size · 100 GB-8 TB Storage Planning
Why Archives Double Raw Scanner Output
Paperless-ngx preserves your immutable original upload inside media/documents/originals while writing the searchable PDF/A-2b rendition into media/documents/archive plus WebP thumbnails. Planning 1.6x to 2.2x raw input prevents sudden disk-full failures.
Skipping Redundant Re-Compression on Born-Digital PDFs
Set PAPERLESS_OCR_MODE=skip so digitally generated bank statements keep their native text layer without Ghostscript rasterizing pages into larger bitmaps.
Measured Thresholds & Container Limits
| Scan Profile (Per 10-Page PDF) | Original Size | Archived PDF/A + Thumb | 100k Docs Total |
|---|---|---|---|
| 300 DPI Color Unoptimized | 4.2 MB | 6.8 MB | ~1.1 TB |
| 300 DPI Grayscale / JBIG2 | 1.8 MB | 2.1 MB | ~390 GB |
| Born-Digital Invoices | 0.35 MB | 0.45 MB (skip_noarchive) | ~80 GB |