From 2a8779295fd6165e30dbd374e0bf4a20e8722abb Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 12 Apr 2021 14:13:19 +0200 Subject: [PATCH] write out pil format as debug message --- src/img2pdf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/img2pdf.py b/src/img2pdf.py index 74b59ed..f99dd34 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -1360,6 +1360,7 @@ def read_images(rawdata, colorspace, first_frame_only=False): # image is jpeg2000 imgformat = ImageFormat.JPEG2000 else: + logger.debug("PIL format = %s", imgdata.format) imgformat = None for f in ImageFormat: if f.name == imgdata.format: