Bug when dumping a solid colored bitmap of Color.FromArgb(35, 35, 35)
The following C# code dumps an image to the results window which is completely transparent. If I have a window behind the LINQPad window, I will see the other window, otherwise I will see my desktop wallpaper. This should display a large nearly black square.
using (var lBitmap = new System.Drawing.Bitmap(1024, 1024))
using (var lGraphics = System.Drawing.Graphics.FromImage(lBitmap))
{
lGraphics.Clear(System.Drawing.Color.FromArgb(35, 35, 35));
lBitmap.Dump();
}
Comments