1
0
Fork 0
forked from josch/img2pdf

write out pil format as debug message

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-04-12 14:13:19 +02:00
parent 6cd819d28f
commit 2a8779295f
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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: