Blake81
Well-known member
I want to make a program for someone at work that does the following:
-Lets them select an image to load into a PictureBox
-Gets the RGB value of the color where they click on the image
-Compares that RGB value to a set of colors which I will store in a file or hash table and picks the closest match.
This seems like a pretty simple project, but I don't know how to do it. I don't know about getting the RGB value at the cursor location, and I'm not sure how to go about doing the comparison to pick the closest color. I would appreciate any help.
-Lets them select an image to load into a PictureBox
-Gets the RGB value of the color where they click on the image
-Compares that RGB value to a set of colors which I will store in a file or hash table and picks the closest match.
This seems like a pretty simple project, but I don't know how to do it. I don't know about getting the RGB value at the cursor location, and I'm not sure how to go about doing the comparison to pick the closest color. I would appreciate any help.