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
here is original pdf 1832786.pdf
image generated by get_pixmap()
what is looks like in wps
I opened this file in WPS and found it to be OK, and the text extraction was also correct. However, the image generated by get_pixmap() is very strange, and the Chinese text seems to be garbled
Description of the bug
here is original pdf
1832786.pdf
image generated by get_pixmap()
what is looks like in wps
I opened this file in WPS and found it to be OK, and the text extraction was also correct. However, the image generated by get_pixmap() is very strange, and the Chinese text seems to be garbled
How to reproduce the bug
import fitz
document = fitz.open('path/to/original pdf')
page = document.load_page(0)
page.get_pixmap()
PyMuPDF version
1.24.5
Operating system
Windows
Python version
3.8
The text was updated successfully, but these errors were encountered: