title: Image.Save does not save image data to file
body: <p>I have working Windows Form application that gets a jpeg image from and website and displays it in an Image control.  However, when I attempt to save the image to the file system using the Image.Save function, it creates the file but leaves it empty.  Not sure what I'm doing wrong...</p>
  
  <p>In the following, DownloadData() successfully retrieves a byte array containing the image.</p>
  
  <pre><code>byte[] imageData = DownloadData(); 
  MemoryStream stream = new MemoryStream(imageData);
  Image img = Image.FromStream(stream);
  stream.Close();
  picMain.Image = img;
  string fname = @"C:\Users\mikec1\Pictures\Construction\Construction_" + Now.ToString("yyyyMMdd") + "_" + Now.ToString("HHmmss") + ".jpg";
  picMain.Image.Save(fname, System.Drawing.Imaging.ImageFormat.Jpeg);
  </code></pre>
  
  <p>I get the same result if I execute the Save from the img object.</p>
  
  <p>In fact, the application terminates upon execution of the last line, without apparently throwing an exception.</p>