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
When I use a file viewer such as WPS to view this file, it is normal, but the images generated by get_pixmap() are very strange, and the results obtained by get_text() are problematic
Description of the bug
here is original pdf
error.pdf
image generated by get_pixmap()
what looks like in wps
When I use a file viewer such as WPS to view this file, it is normal, but the images generated by get_pixmap() are very strange, and the results obtained by get_text() are problematic
How to reproduce the bug
import fitz
original_pdf = "path/to/pdf"
doc = fitz.open(original_pdf)
page = doc.load_page(0)
image = 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: