I am trying to get the coordinate positions of each text in a pdf file. But the mupdf files have the coordinate origin as top left, but the pdf files have the coordinate origin as bottom left (or may be the random coordinate origin). I only want to get the coordinate origin as top left, is there a way to get the coordinate origin as top left only?
Description of the bug
I am trying to get the coordinate positions of each text in a pdf file. But the mupdf files have the coordinate origin as top left, but the pdf files have the coordinate origin as bottom left (or may be the random coordinate origin). I only want to get the coordinate origin as top left, is there a way to get the coordinate origin as top left only?
How to reproduce the bug
None.
PyMuPDF version
1.24.10
Operating system
Linux
Python version
3.10