get color at position c# code example
Example: c# get pixel from bitmap click
private void pictureBox_MouseUp(object sender, MouseEventArgs e)
{
Bitmap b = new Bitmap(pictureBox.Image);
Color color = b.GetPixel(e.X, e.Y);
}
private void pictureBox_MouseUp(object sender, MouseEventArgs e)
{
Bitmap b = new Bitmap(pictureBox.Image);
Color color = b.GetPixel(e.X, e.Y);
}