Fix test suite by running select_image_for_pdf unconditionally
The purpose of this change that caused the problem was a minor optimization for the tesseract renderer path that had it pull an image from select_image_for_pdf so that it could use a JPEG instead of PNG, instead of taking it from preprocess_clean where it would only get a PNG and make large files.
This commit is contained in:
@@ -636,7 +636,6 @@ def ocr_tesseract_hocr(
|
||||
)
|
||||
|
||||
|
||||
@active_if(options.pdf_renderer == 'hocr')
|
||||
@collate(
|
||||
input=[rasterize_with_ghostscript, preprocess_deskew, preprocess_clean],
|
||||
filter=regex(r".*/(\d{6})(?:\.page|\.pp-deskew|\.pp-clean)\.png"),
|
||||
|
||||
Reference in New Issue
Block a user