title: Novacode Docx Create Image from Bitmap
body: <h1>Background</h1>
  <p>My project is urgent and requires that I iterate a large XML file and return Base64 encoded images.</p>
  <p>Each image must be inserted into an MS Word doc, and I am using the <a href="http://docx.codeplex.com/" rel="noreferrer">DocX</a> library for that.</p>
  <p>I am converting the Base64 strings to bitmap with no problem.</p>
  <h1>Problem</h1>
  <p>For the life of me, I can't seem to get the bitmaps into a <em>Novacode.Image</em> object which can then be inserted to the document.  NOTE: I already know how to convert to System.Drawing.Image format.  It is Novacode.Image format (DocX) that is giving me grief.</p>
  <p>If I try to convert a la <code>(Novacode.Image)somebitmap;</code> I get <code>Can not cast expression of type Image to Bitmap</code>.  If I try to initialize a new <code>Novacode.Image</code> object I get <code>Can not access internal constructor Image here</code>.</p>
  <p>Using C#, .NET 4, Forms App, lots of coffee.</p>
  <h1>Question</h1>
  <p>Only Novacode.Image objects can be inserted into the MS Word doc via the library, so how the heck do I get my bitmap in there??</p>
  <p>I am bleary-eyed at this point so perhaps I am just missing something simple.</p>