Error saving bitmap to output stream - "A generic error occurred in GDI+"
<p>I'm simply trying to write a bitmap to the <code>Response.OutputStream</code>. Here's what i have:</p>

<pre><code>System.Drawing.Bitmap outputImage = 
    System.Drawing.Image.FromHbitmap(psd.GetHBitmap());            
Response.Clear();
Response.ContentType = "image/bmp";
Response.Flush();

// error occurs here
outputImage.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Bmp);

outputImage.Dispose();
Response.End();
</code></pre>

<p>Anyone know what the problem might be?</p>
