mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-02-07 04:43:14 -05:00
Ghostscript may fail when asked to rasterize at very low DPI values (below 10 on either axis). This adds a workaround that uses a minimum of 10 DPI for the Ghostscript call, then resizes the output image to match the dimensions that would have resulted from the original low DPI request. Fixes #1612