CCITTGroup4 must return empty palette
This commit is contained in:
parent
ce68cb21d7
commit
48d5b4d7af
1 changed files with 1 additions and 1 deletions
|
@ -820,7 +820,7 @@ def read_images(rawdata, colorspace, first_frame_only=False):
|
||||||
ccittdata = transcode_monochrome(imgdata)
|
ccittdata = transcode_monochrome(imgdata)
|
||||||
imgformat = ImageFormat.CCITTGroup4
|
imgformat = ImageFormat.CCITTGroup4
|
||||||
result.append((color, ndpi, imgformat, ccittdata,
|
result.append((color, ndpi, imgformat, ccittdata,
|
||||||
imgwidthpx, imgheightpx))
|
imgwidthpx, imgheightpx, []))
|
||||||
img_page_count += 1
|
img_page_count += 1
|
||||||
continue
|
continue
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Reference in a new issue