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
I'm using draw_rect method of Pymupdf to draw a rectangle box on the pdf. It's not working on certain pages of the pdf. Following is the code for drawing rectangles. I tried the same rect values to plot on other pages and it plotted correctly.
I also tried the below code before drawing. page._isWrapped gave False and after page.wrap_contets it became True. But still, I'm not able to plot the rectangle.
if not(page._isWrapped):
page.wrap_contents()
Please find the following configuration:
Operating system - Linux,
Python version - 3.8
PyMuPDF version: 1.18.15, fitz version : 0.0.1.dev2