Why does SizeMode StretchImage have the following effect and how can I fix it?
gradient Code for example:
Bitmap bitmap = new Bitmap(1,1,PixelFormat.Format24bppRgb);
bitmap.SetPixel(0,0, Color.Black);
pictureBox1.Image = bitmap;
Why does SizeMode StretchImage have the following effect and how can I fix it?
gradient Code for example:
Bitmap bitmap = new Bitmap(1,1,PixelFormat.Format24bppRgb);
bitmap.SetPixel(0,0, Color.Black);
pictureBox1.Image = bitmap;