title: Combining two image into one new image
body: <p>I'm trying the replicate the imagecopy PHP function in .NET. I have two images which I need to combine into one new image. One image is a template and I need to fit the second image into the template and then save the result as a new file. Here's what I have so far:</p>
  
  <pre><code>//Sized Image
  Bitmap sizedImg = (Bitmap)Image.FromFile(Server.MapPath("~/ImageUploads/") + sizedImageName);
  sizedImg.MakeTransparent(Color.White);
  
  //Template Image
  Bitmap template = (Bitmap)Image.FromFile(Server.MapPath("~/Assets/img/frame_sm.jpg"));
  
  //Combine the two
  Graphics newImage = Graphics.FromImage(template);
  newImage.DrawImage(sizedImg, 96, 12, 232, 230);
  newImage.Save();
  
  //Save the new image
  string fileName =  String.Format("{0}_sizedFB.jpg", originalImageName.Substring(0, originalImageName.IndexOf("_")));
  //? Save
  </code></pre>
  
  <p>First, is this the correct code to combine the two images into one? And if so, how do I save the new image to disk?</p>
  
  <p>Thank you.</p>