OCRmyPDF — Optimization Guide Overview OCRmyPDF provides extensive optimization options to reduce file size, create PDF/A archival documents, and configure output quality. For core OCR functionality, see the ocrmypdf skill. For image processing (deskew, rotate, clean), see ocrmypdf-image . For batch/Docker/scripting, see ocrmypdf-batch . Compression Levels PDF/A Output PDF/A is an archival format with embedded fonts and colorspaces: JBIG2 Encoding JBIG2 provides excellent compression for monochrome (1-bit) images: Requirements : PNG Optimization Optimize embedded PNG images: Ghostscript Optio…