title: Need to combine two uploaded images on the fly into one bigger image in Classic ASP & .Net mixed app
body: <p>I have a Classic ASP application running on IIS 7.5 (Windows Server 2008r2).
  What I need is actually pretty simple:</p>
  
  <p>(1) Users upload an image. </p>
  
  <p>(2) First thing is I want to dupe the image they uploaded so I have a "virgin" version and a "version we can play with". Everything below will be working on the "version we can play with" (the new/duped version).</p>
  
  <p>(3) Resize the image to be 450w x 253h.</p>
  
  <p>(4) I want to create a new image that is the same width as the old one but twice as tall (450w x 506h). I want to then copy the old image, putting one version of it above an exact duplicate; thus making the new image that is twice as tall as the original. Sort of like mirroring. </p>
  
  <p>Preferred if there is a way to do this without a commercial component, like with .Net and I can call the .Net page/functions from my Classic ASP. My experience/knowledge is with vbScript (ASP) and barely any experience with VB in .Net.</p>
  
  <p>Here is an image I made to try to explain what I'm doing:
  <a href="http://www.casemodo.com/images/image_build_on_the_fly.jpg" rel="nofollow noreferrer">image of what I&#39;m looking to build on the fly http://www.casemodo.com/images/image_build_on_the_fly.jpg</a></p>
  
  <p>On this site I saw someone provide a solution for stacking images side-by-side instead of one-on-top-of-the-other like I want. Also the solution is written in C#, which I have zero experience with. Here is what they wrote:</p>
  
  <p>Bitmap bitmap = new Bitmap(image1.Width + image2.Width, Math.Max(image1.Height, image2.Height));
      using (Graphics g = Graphics.FromImage(bitmap))
      {
          g.DrawImage(image1, 0, 0);
          g.DrawImage(image2, image1.Width, 0);
      }</p>
  
  <p>What I need is someone to go super high level with me and show me how this would sit in a aspx file and perhaps even how I would call it from one of my Classic ASP pages. I know I'm asking for a lot. I just don't know how it can be done another way, except for perhaps spending money I don't have on a commercial ActiveX component I can call from Classic ASP.</p>
  
  <p>Thanks for any help or direction you can give!
  Scott</p>