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: