# OCRmyPDF v17.4.2 - Product: OCRmyPDF (https://whatsnew.fyi/product/ocrmypdf) - Vendor: ocrmypdf - Date: 2026-07-17 - Version: v17.4.2 - Original notes: https://github.com/ocrmypdf/OCRmyPDF/releases/tag/v17.4.2 - Permalink: https://whatsnew.fyi/product/ocrmypdf/releases/v17.4.2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Python API no longer unconditionally overrides PIL.Image.MAX_IMAGE_PIXELS when the caller did not explicitly set max_image_mpixels, allowing host applications to have their PIL limit settings respected - **security** — Updated uv.lock to avoid pinning a vulnerable version of Pillow - Fixed Python API unconditionally overriding ``PIL.Image.MAX_IMAGE_PIXELS`` when the caller did not explicitly set ``max_image_mpixels``. Host applications (e.g. Paperless-NGX) that configure the PIL limit before invoking ``ocrmypdf.ocr()`` now have their setting respected. The CLI default of 250 megapixels is unchanged. {issue}`1665` - Updated uv.lock to avoid pinning a vulnerable version of Pillow. {issue}`1666`