string path = Server.MapPath("~/temp/");
string imgFilePath1 = path + "123456ASDFG.JPG";
string imgFilePath2 = path + "aaaaaaaaaaa.JPG";
if (!File.Exists(imgFilePath1))
File.Create(imgFilePath1);
System.Drawing.Image img1 = System.Drawing.Image.FromFile(imgFilePath1);
System.Drawing.Image img2 = System.Drawing.Image.FromFile(imgFilePath2);
Bitmap newImg = new Bitmap((img1.Width > img2.Width) ? img1.Width : img2.Width, img1.Height + img2.Height);
Graphics g = Graphics.FromImage(newImg);
g.Clear(Color.Blue);
g.DrawImageUnscaled(img1, 0, 0);
g.DrawImageUnscaled(img2,0, img1.Height);
img1.Dispose();
newImg.Save(imgFilePath1);
g.Dispose();