title: JavaScript Image Class - Merge two images next to each other
body: <p>is there a way to combine two images in one image class? I don't want to blend them, just put them next to each other...</p>
  
  <p>I'm looking for something like this:</p>
  
  <pre><code>myImg = new Image()
  myImg.src = "img1.jpg" + "img2.jpg"
  </code></pre>
  
  <p>Thanks!</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I need to combine them before putting them into the canvas for easier scroll-handling... so canvas or div is not an option.</p>
  
  <p><strong>Edit, II.:</strong></p>
  
  <p>I'm using a canvas through which I'm scrolling. But my image is chucked. It thought it would be the easiest way, when I merge my actual image with the following and "scroll" through this one instead of handling two seperate ones.</p>