src/img2pdf.py: be more explicit when embedding group4 from TIFF
This commit is contained in:
parent
b758b54ce8
commit
03bdc33053
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ def read_images(rawdata, colorspace, first_frame_only=False):
|
||||||
rawdata = bytes(rawdata)
|
rawdata = bytes(rawdata)
|
||||||
else:
|
else:
|
||||||
raise ValueError("unsupported FillOrder: %d" % fillorder)
|
raise ValueError("unsupported FillOrder: %d" % fillorder)
|
||||||
logging.debug("read_images() embeds a TIFF")
|
logging.debug("read_images() embeds Group4 from TIFF")
|
||||||
result.append((color, ndpi, ImageFormat.CCITTGroup4, rawdata,
|
result.append((color, ndpi, ImageFormat.CCITTGroup4, rawdata,
|
||||||
imgwidthpx, imgheightpx, [], inverted, 1))
|
imgwidthpx, imgheightpx, [], inverted, 1))
|
||||||
img_page_count += 1
|
img_page_count += 1
|
||||||
|
|
Loading…
Reference in a new issue