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.