v17.5.0
Added 2
- Support for the ``end`` alias in ``--pages``, denoting the last page of the document (e.g. ``--pages 3-end`` OCRs from page 3 through the final page)
- Added ``--ghostscript-jpeg-quality`` and ``--ghostscript-jpeg-maxdpi`` advanced options for tuning Ghostscript's PDF/A output
Fixed 3
- Fixed pypdfium2 rasterizer clipping content when the CropBox was smaller than the MediaBox (e.g. JSTOR or cropped PDFs)
- Fixed Form XObject cycle detection in the optimizer's image xref scan that previously produced floods of recursion warnings and could hang for minutes
- Tesseract config errors are now surfaced as ``TesseractConfigError`` with actionable guidance instead of crashing later with a confusing ``FileNotFoundError``
- Added support for the
endalias in--pages, denoting the last page of the document. For example,--pages 3-endOCRs from page 3 through the final page. {issue}1615 - Added
--ghostscript-jpeg-qualityand--ghostscript-jpeg-maxdpiadvanced options for tuning Ghostscript's PDF/A output. The optimizer's--jpeg-qualityremains the recommended file-size control. - Fixed pypdfium2 rasterizer clipping content when the CropBox was smaller
than the MediaBox (e.g. JSTOR or cropped PDFs). {issue}
1685 - Fixed Form XObject cycle detection in the optimizer's image xref scan.
Self-referential or DAG-shaped Form graphs (notably from PowerPoint
exports) previously produced floods of recursion warnings and could hang
for minutes. {issue}
1321 - Tesseract config errors are now surfaced as
TesseractConfigErrorwith actionable guidance, instead of crashing later with a confusingFileNotFoundErroron the missing hOCR output. {issue}1687 - Refreshed the Chinese README translation. Thanks @cislunarspace.
- Internal refactoring of the
_execandsubprocessmodules to separate probing from execution. - CI dependency updates.