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:
James R. Barlow
2016-02-08 02:33:03 -08:00
parent b907234d5c
commit d30a879e2d
-1
View File
@@ -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"),