title: Insert an image to pdf files
body: <p>I am trying to insert an image to multiple pdfs.</p>
  <p>I started by doing it in a single pdf.</p>
  <p>But I am getting an AttributeError: 'Page' object has no attribute 'InsertImage'</p>
  <p>Could you please help me?</p>
  <p>Below you can find the code.</p>
  <pre><code>import fitz
  doc = fitz.open(&quot;example.pdf&quot;)
  rect = fitz.Rect(0,0,100,100)
  for Page in doc:
      Page.insertImage(rect, filename = &quot;image1.jpg&quot;)
  doc.save(&quot;new.pdf&quot;)  
  </code></pre>