You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.7/site-packages/pdf2docx/page/RawPage.py", line 67, in restore
raw_dict = self.extract_raw_dict(**settings)
File "/usr/local/lib/python3.7/site-packages/pdf2docx/page/RawPageFitz.py", line 33, in extract_raw_dict
image_blocks = self._preprocess_images(**settings)
File "/usr/local/lib/python3.7/site-packages/pdf2docx/page/RawPageFitz.py", line 118, in _preprocess_images
return ImagesExtractor(self.page_engine).extract_images(settings['clip_image_res_ratio'])
File "/usr/local/lib/python3.7/site-packages/pdf2docx/image/ImagesExtractor.py", line 159, in extract_images
raw_dict = self._to_raw_dict(pix, bbox)
File "/usr/local/lib/python3.7/site-packages/pdf2docx/image/ImagesExtractor.py", line 239, in _to_raw_dict
'image': image.tobytes()
File "/usr/local/lib/python3.7/site-packages/fitz/fitz.py", line 7300, in tobytes
raise ValueError("unsupported colorspace for '%s'" % output)
ValueError: unsupported colorspace for 'png'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: