Some lines are missing when using the method: get_pixmap() #4393
Replies: 5 comments 1 reply
-
Cannot reproduce: Which lines do you missing, then? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply, |
Beta Was this translation helpful? Give feedback.
-
Authoritative PDF viewers like Adobe Acrobat, PDF-XChange, Foxit, evince (Linux) and others do not display these lines either. Here is how Adobe renders the page: So I'm afraid wherever your left image part came from, it did not land in the PDF as expected. |
Beta Was this translation helpful? Give feedback.
-
When I opened the pdf in Microsoft Office and Google Chrome, the lines appeared fine. I used show_pdf_page () to copy the content into the new pdf, which also successfully displayed them in Microsoft Office and Google Chrome. It seems that using the show_pdf_page() method can successfully copy these lines that Adobe Acrobat does not show. Is there any difference in the replication range between the two methods:get_pixmap() and show_pdf_page (). |
Beta Was this translation helpful? Give feedback.
-
Method I am going to convert this into a "Discussions" item. There is no current evidence for an issue. |
Beta Was this translation helpful? Give feedback.
-
Description of the bug
test.pdf
When I tried to convert the pdf file to an image and save it locally, I noticed that some lines were missing from the image
How to reproduce the bug
I want to convert pdf to jpg, like this:
but some lines were missing:
PyMuPDF version
1.25.4
Operating system
Windows
Python version
3.9
Beta Was this translation helpful? Give feedback.
All reactions