hi any1;
i want ,user can open an image in form and by clicking a button color of specific pixel of image write to a textbox. how can i get color of pixel of an image?(very sorry for my bad English!)
Bitmap.GetPixel Method (System.Drawing) There's a small code sample there also. When you load the image into Picturebox (with SizeMode=Normal) you can use the MouseDown event and get the coordinate from e.X/e.Y.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.