Bitmap XXXX(Bitmap b1,Bitmap b2)
{
Bitmap newBitmap=new Bitmap(Math.Max(b1.Width,b2.Width),b1.Height+b2.Height);
Graphics g=Graphics.FromImage(newBitmap);
g.DrawImage(b1,0,0);
g.DrawImage(b2,0,b1.Height);
g.Dispose();
return newBitmap;
}
合并两张图片
最新推荐文章于 2020-10-24 10:31:23 发布