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
Traceback (most recent call last):
File "/Users/songyang/project/sf/lab/py/parse.py", line 9, in
content, image_paths = parse_pdf(pdf_path,
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/gptpdf/parse.py", line 260, in parse_pdf
image_infos = _parse_pdf_to_images(pdf_path, output_dir=output_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/gptpdf/parse.py", line 151, in _parse_pdf_to_images
pix.save(os.path.join(output_dir, name))
File "/opt/homebrew/lib/python3.11/site-packages/pymupdf/init.py", line 10438, in save
return self._writeIMG(filename, idx, jpg_quality)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pymupdf/init.py", line 10148, in writeIMG
if format == 1: mupdf.fz_save_pixmap_as_png(pm, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pymupdf/mupdf.py", line 47077, in fz_save_pixmap_as_png
return _mupdf.fz_save_pixmap_as_png(pixmap, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pymupdf.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/Users/songyang/project/sf/lab/py/parse.py", line 9, in
content, image_paths = parse_pdf(pdf_path,
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/gptpdf/parse.py", line 260, in parse_pdf
image_infos = _parse_pdf_to_images(pdf_path, output_dir=output_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/gptpdf/parse.py", line 151, in _parse_pdf_to_images
pix.save(os.path.join(output_dir, name))
File "/opt/homebrew/lib/python3.11/site-packages/pymupdf/init.py", line 10438, in save
return self._writeIMG(filename, idx, jpg_quality)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pymupdf/init.py", line 10148, in writeIMG
if format == 1: mupdf.fz_save_pixmap_as_png(pm, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pymupdf/mupdf.py", line 47077, in fz_save_pixmap_as_png
return _mupdf.fz_save_pixmap_as_png(pixmap, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pymupdf.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
The text was updated successfully, but these errors were encountered: