Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# trouble

Name: Anonymous 2009-12-06 7:50

I dont get it what am i doint wrong?


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)]

Name: Anonymous 2009-12-06 11:33

I have to say >>1,3,6,10 is a rather poor and predictable troll.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List