3 Commits

Author SHA1 Message Date
James R. Barlow
1b46481f7e pre-commit: add setup.cfg fmt 2021-08-26 17:59:40 -07:00
Dima Kuznetsov
5e2206bae7
Allow --sidecar along --pages (#735) 2021-02-19 16:55:35 -08:00
James R. Barlow
91aa175602
Consider text when determining page raster DPI
Previously if we found vectors of any sort on a page, we would bump
the DPI up to 400. We did nothing
about pages with text. As a result,
pages with a low image resolution
and printable text would have the text downgraded to image
resolution when --force-ocr was used.

We don't try to determine if the text is visible or invisible OCR text, since
that is a slower test. --redo-ocr would improve such cases anyway.
2021-01-09 16:01:49 -08:00