📄Fixing Unprintable Scanned PDFs Without Breaking the Invisible Text
For PDFs that overlay invisible OCR text on scanned images, a procedure and verification method for unifying page sizes and making JBIG2 images printable (converting to CCITT G4) without breaking the invisible text — using pikepdf and pypdf instead of Ghostscript. Includes the polarity (black/white inversion) pitfall.