title: Using PdfStamper to add an image with AffineTransform
body: <p>I am using PdfStamper getOverContent() so I can add an image to the output PDF file using an AffineTransform of Identity type.</p>
  
  <pre><code>    PdfContentByte content = stamper.getOverContent(1);
      data.image.setAbsolutePosition(desc.X,desc.Y);
      content.addImage(data.image,desc.transform);
      //content.addImage(data.image);
  </code></pre>
  
  <p>if I use the commented line without the transform it works perfectly adding the image to the PDF generated but with the AffineTransform (setToIdentity()) it does not show up.</p>
  
  <p>could someone help me out with that ? I intend to use more sophisticated transform but the Identity should work first...</p>
  
  <hr>
  
  <p>EDIT (copied from the invalid answer)</p>
  
  <p>I removed the call to setAbsolutePosition and used a setToIdentity() as the only transformation and the image is not show... Then added the setToTranslation(X,Y) where X and Y are the same values used in the successful case where I do NOT give the transformation as the second parameter and still it does NOT show the image. Is there an example with the AffineTransform as a parameter to PdfContentByte addImage() call using an AffineTransform as a parameter ? I have bought your book but could not fins any.</p>