Bitmap imgFrst = new Bitmap(pictureBox1.Image);
Bitmap imgScnd = new Bitmap(pictureBox2.Image);
int height = imgFrst.Height < imgScnd.Height ? imgFrst.Height : imgScnd.Height;
int width = imgFrst.Width < imgScnd.Width ? imgFrst.Width : imgScnd.Width;
Bitmap fussion=new Bitmap(width,height);
for (int i = 0; i < fussion.Height; i++)
{
for (int j = 0; j < fussion.Width; j++)
{
评论0
最新资源