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:35

>>6

We are Expert Computer Scientists.  We are not petty programmers of your sort.

We are comfortable in any environment, writing code observant of any paradigm.

You should leave this place.

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