title: How can I convert image url to system.drawing.image
body: <p>I'm using <code>VB.Net</code> I have an url of an image, let's say <code>http://localhost/image.gif</code></p>
  
  <p>I need to create a System.Drawing.Image object from that file.</p>
  
  <p><em>Notice</em> save this to a file and then open it is not one of my options 
  also i'm using <code>ItextSharp</code></p>
  
  <p>here is my code : </p>
  
  <pre><code>Dim rect As iTextSharp.text.Rectangle
          rect = iTextSharp.text.PageSize.LETTER
          Dim x As PDFDocument = New PDFDocument("chart", rect, 1, 1, 1, 1)
  
          x.UserName = objCurrentUser.FullName
          x.WritePageHeader(1)
          For i = 0 To chartObj.Count - 1
              Dim chartLink as string = "http://localhost/image.gif"
              x.writechart( ** it only accept system.darwing.image ** ) 
  
          Next
  
          x.WritePageFooter()
          x.Finish(False)
  </code></pre>