title: iTextSharp - How to input image (PNG) from project resource?
body: <p>I have iTextSharp creating a pdf for me in VB.net. Everything was working famously, except now I want to embed an image. I tried this:</p>
  
  <pre><code>Dim test = My.Resources.MyImage
  Dim logo = Image.GetInstance(test)
  </code></pre>
  
  <p>This an error though:</p>
  
  <blockquote>
    <p>'GetInstance' cannot be called with these arguments</p>
  </blockquote>
  
  <p>It appears as though it expects a path, and is getting a System.Drawing.Bitmap type. </p>
  
  <p>Is there any way that I can add a project resource image to my PDF? Thanks in advance!</p>