Click here to Skip to main content
16,016,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to find pixel coordinates in an image
Posted
Comments
OriginalGriff 3-Sep-10 7:25am    
Start at the top and work down?
Otherwise, we might need more information on what you are trying to achieve...
William Winner 3-Sep-10 12:04pm    
Reason for my vote of 1
either this is an extremely simple question and answer or we've not been provided with the necessary information.

1 solution

this code might help

Bitmap bmp = new Bitmap("filename");
//to get the pixel color
Color c= bmp.GetPixel(50,50);
//to set the color of the pixel
bmp.SetPixel(50, 50, Color.Green);


good luck!
 
Share this answer
 
Comments
SureshNagalla 31-Jul-12 3:13am    
thank u Samuel

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900