title: Saving an image in an html document using Agillity pack
body: <p>I'm trying to save images in a jpeg (or any format) for a given page.</p>
  
  <p>Say that I have this node in the document:</p>
  
  <pre><code>&lt;td class="leftCol" align="center"&gt;
            &lt;img src="/Images/LoadImage/1122334455" id="bp250_bp250_bp250_main_sub_sub_itemImage" alt="Object #1" style="border:none;" /&gt;
  
                      &lt;div class="variations"&gt;
                          &amp;nbsp;
  
                      &lt;/div&gt;
                      &lt;div class="rotate"&gt;
                          &lt;a href="javascript:void(0)" rel="lightbox" onclick="return RotateCardImage(event, this, true);"&gt;
                          &lt;/a&gt;
                      &lt;/div&gt;
                  &lt;/td&gt;
  </code></pre>
  
  <p>I want to save the image contained in the 
  
  <pre><code>HtmlNodeCollection allImgNodes = docToParse.DocumentNode.SelectNodes("//img");
  </code></pre>
  
  <p>and then this:</p>
  
  <pre><code>foreach(var allImgNode in allImgNodes)
  {
      if(allImgNode.Attributes["alt] != null)
      {
          if(allImgNode.Attributes["alt"].Value == objName)
          {
              (... and here I am...)
          }
      }
  }
  </code></pre>
  
  <p>The objName is a string that correspond to the name of the object, in this example, "Object #1" would be objName.</p>
  
  <p>Can anyone help me figure out how to do this? Thank you.</p>