Closed
Description
Description of the bug
I have a single page pdf file which has a table inside it. When I load the pdf and try to call the get_pixmap function, it just keeps the content and removes the table around it.
pix = page.get_pixmap(alpha=False, dpi=150) image = Image.open(io.BytesIO(pix.tobytes())) image.save("temp.jpeg", format='jpeg')
Unfortunately, I won't be able to share to share this particular pdf on an open platform, would you be able to suggest how can I further debug it?
Sharing the part of screenshot of this pdf and the converted image.
PDF -
How to reproduce the bug
Seems to be breaking only in this particular kind of PDF. Seems to be working fine elsewhere.
PyMuPDF version
1.24.1
Operating system
MacOS
Python version
3.10