docs/releasenotes/version10.md
% SPDX-FileCopyrightText: 2022 James R. Barlow % SPDX-License-Identifier: CC-BY-SA-4.0
--threshold on an image.
({issue}607)Path(plugin) as a path to a plugin.582)--pdf-renderer hocr, some text would
be missing from the output when using a more recent version of Tesseract.
Tesseract began adding more detailed markup about the semantics of text
that our HOCR transform did not recognize, so it ignored them. This option is
not the default. If necessary --redo-ocr also redoing OCR to fix such issues.Element.getchildren(). ({issue}584)BytesIO and other file stream objects.
({issue}545)OMP_THREAD_LIMIT set to invalid value error messages on some input
files. (The error was harmless, apart from less than optimal performance in
some cases.)--clean-final would cause an unpaper-cleaned page image to
be produced twice, which was necessary in some cases but not in general. We
now take this optimization opportunity and reuse the image if possible.-l lang1+lang2 is used from command line.Breaking changes
New features and improvements
--pages argument is used.Developer changes
ocrmypdf.helpers.Resolution class.ocrmypdf._exec is now private to OCRmyPDF.ocrmypdf.hocrtransform module has been updated to follow PEP8 naming
conventions.