title: Converting iTextSharp.text.Image back to System.Drawing.Image
body: <p>I am trying to convert object of type iTextSharp.text.Image back to System.Drawing.Image.
  Here is a chunk of code that is not working:</p>
  
  <pre><code>System.Drawing.Image img = System.Drawing.Image.FromStream(new MemoryStream(itextImg.RawData));
  </code></pre>
  
  <p>I could be going about this all wrong, but I won't know unless I consult the experts, and after two hours of fruitless searching online, I am finally posting it myself as a question.</p>