📜  获取像素的颜色 c# 代码示例

📅  最后修改于: 2022-03-11 14:48:46.955000             🧑  作者: Mango

代码示例3
private void pictureBox_MouseUp(object sender, MouseEventArgs e)
{
    Bitmap b = new Bitmap(pictureBox.Image);
    Color color = b.GetPixel(e.X, e.Y);
}