title: PyMuPDF | inserted image is in the wrong place of a pdf page
body: <p>I need to insert an image into some pages of a pdf and I use <a href="https://pymupdf.readthedocs.io/en/latest/page/#Page.insertImage" rel="nofollow noreferrer">insertImage</a>. Following the example I provide <code>fitz.Rect(0, 0, 50, 50)</code> as I want to place the image in the top left corner of the page. Works perfectly for all pdfs, but one - a scanned document for which the image appears somewhere in the center of the page and the image is also 90 rotated. What might cause the difference in the result for that particular pdf and how can I solve it?</p>