From 96a914254233b2b4f8f9fdddcad4472b779e46a8 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Fri, 29 Dec 2023 22:19:06 +0000 Subject: [PATCH] More -process-images-info work --- cpdfimage.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/cpdfimage.ml b/cpdfimage.ml index 198491e..d38bf93 100644 --- a/cpdfimage.ml +++ b/cpdfimage.ml @@ -566,6 +566,7 @@ let lossless_out pdf ~pixel_threshold ~length_threshold extension s dict referen in print_string (Pdfwrite.string_of_pdf dict); print_string (Printf.sprintf "%s (%s) [%s]\n" colspace bpc filter);*) + if !debug_image_processing then Printf.printf "not suitable\n%!"; None (* an image we cannot or do not handle *) let lossless_to_jpeg pdf ~pixel_threshold ~length_threshold ~percentage_threshold ~qlossless ~path_to_convert s dict reference =