我是新的C#和我试图打开多个图片到一个数组以后操纵他们的像素,这是我到目前为止的代码:C#打开多个图像阵列
private void button1_Click(object sender, EventArgs e)
{
openFileDialog1.Filter = "Image Files(*.jpg; *.jpeg; *.bmp)|*.jpg; *.jpeg; *.bmp";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
Bitmap[] images = new Bitmap(openFileDialog1.FileNames);
MessageBox.Show(images.Length+" images loaded","",MessageBoxButtons.OK);
}
}
我这条线遇到问题
Bitmap[] images = new Bitmap(openFileDialog1.FileNames);
你能帮我吗?