forked from josch/img2pdf
write out pil format as debug message
This commit is contained in:
parent
6cd819d28f
commit
2a8779295f
1 changed files with 1 additions and 0 deletions
|
@ -1360,6 +1360,7 @@ def read_images(rawdata, colorspace, first_frame_only=False):
|
||||||
# image is jpeg2000
|
# image is jpeg2000
|
||||||
imgformat = ImageFormat.JPEG2000
|
imgformat = ImageFormat.JPEG2000
|
||||||
else:
|
else:
|
||||||
|
logger.debug("PIL format = %s", imgdata.format)
|
||||||
imgformat = None
|
imgformat = None
|
||||||
for f in ImageFormat:
|
for f in ImageFormat:
|
||||||
if f.name == imgdata.format:
|
if f.name == imgdata.format:
|
||||||
|
|
Loading…
Reference in a new issue