title: Pixelbox shows error image on valid bitmap
body: <p><br>
  I have a wired probly. I recieve pixel data from a web control (Awesomium).
  I want to display the bipmap in a PictureBox.</p>
  
  <pre><code>using (System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(viewPortX, viewPortY, System.Drawing.Imaging.PixelFormat.Format32bppArgb))
    {
      BitmapData bmpData = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.WriteOnly, bmp.PixelFormat);
      BitmapSurface bmpSurface = (BitmapSurface)htmlHolder.Surface;
      bmpSurface.CopyTo(bmpData.Scan0, bmpSurface.RowSpan, 4, false, false);
      bmp.UnlockBits(bmpData);
  
      bmp.Save("result.jpg", ImageFormat.Jpeg);
      pictureBox.Load(result.jpg);
    }
  </code></pre>
  
  <p>This works fine. The bitmap is diaplayed.
  If I change </p>
  
  <pre><code>bmp.Save("result.jpg", ImageFormat.Jpeg);
  pictureBox.Load(result.jpg);
  </code></pre>
  
  <p>to</p>
  
  <pre><code>pictureBox.Image = bmp;
  </code></pre>
  
  <p>then the eror image is shown in the PictureBox.<br>
  Any idea what's is wrong?<br>
  Greetings<br>
  Clemens Hoffmann</p>