Name: Anonymous 2009-12-06 7:50
I dont get it what am i doint wrong?
I get
[The nested type `FromArgb' does not exist in the type `System.Drawing.Color'(CS0426)]
System.Drawing.Color col;
col = bmp.GetPixel(x, y);
int r = (col.R + col.G + col.B) / 3;
int g = (col.R + col.G + col.B)/ 3;
int b = (col.R + col.G + col.B)/ 3;
col = new System.Drawing.Color.FromArgb(r, g, b);
bmp.SetPixel(x, y, col);I get
[The nested type `FromArgb' does not exist in the type `System.Drawing.Color'(CS0426)]