Reduce overhead, compress documents where practical, and prepare PDFs for future OCR and repair workflows.
Run a lightweight PDF optimization pass for smaller outputs where pure-JS processing is practical.
Run a lightweight compression-style save pass with transparent messaging about current limits.
Run a recovery-minded save pass that repairs many structurally inconsistent PDFs without relying on external binaries.
Render scanned PDF pages, run OCR when needed, and export a searchable text-first PDF copy.