title: Images don't display in PDF
body: <p>I have a fairly simple HTML page rendered via asp.net. It looks beautiful in the PDF after running it through <strong>HtmlRenderer.PdfSharp</strong> EXCEPT that the images don't appear. Just the red X of a missing image in the PDF even though the web page itself does display the image correctly.</p>
  
  <p>Here is my HtmlRenderer.PdfSharp code:</p>
  
  <pre><code>public void BuildPDF( string url, string pdfPath ) {
     string html = GetHTML(url);
     Byte[] res = null;
     using( MemoryStream ms = new MemoryStream() ) {
        using( FileStream file = new FileStream(pdfPath, FileMode.Create, FileAccess.Write) ) {
           byte[] bytes = new byte[ms.Length];
           var pdf = TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf(html, PdfSharp.PageSize.A4);
           pdf.Save(ms);
           res = ms.ToArray();
           file.Write(res, 0, res.Length);
           ms.Close();
        }
     }
  }
  
  private string GetHTML(string url) {
     string html = string.Empty;
     HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
     request.AutomaticDecompression = DecompressionMethods.GZip;
  
     using( HttpWebResponse response = (HttpWebResponse)request.GetResponse() )
     using( Stream stream = response.GetResponseStream() )
     using( StreamReader reader = new StreamReader(stream) ) {
        html = reader.ReadToEnd();
     }
  
     return html;
  }
  </code></pre>
  
  <p>And here is the img HTML that doesn't render in the PDF: <code>&lt;img src="images/ChartImg.png" /&gt;</code></p>
  
  <p>How can I solve this?</p>