OCRmyPDF v17.4.2

v17.4.2
Fixed 1
  • 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 1
  • 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
View original

Upgraded? How did it go?

Discussion