title: IText Image Set Absolute Position
body: <p>I need to position an image in a PDF using the iText library at the exact same position as shown in the screenshot below from Adobe Acrobat. What values do I need to pass to the image setabsolute position like so:</p>
  
  <pre><code>        Image image = Image.getInstance(stream.toByteArray());
          image.scaleAbsolute(150f, 150f);
          image.setAbsolutePosition(???f, ???f);
  
          PdfContentByte overContent = stamper.getOverContent(1);
          overContent.addImage(image);
          stamper.setFormFlattening(true);
          stamper.close();
  </code></pre>
  
  <p>I am trying all the values and the image is jumping arround in the outputed file. What values should I use? I have also included the screenshot from the getFieldPosition() output.</p>
  
  <p><img src="https://i.stack.imgur.com/oAdOP.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/CWcoF.jpg" alt="enter image description here"></p>