title: How to embed a small image on top of another image and save it using JavaScript?
body: <p>I have a large image tif format and two small images.</p>
  
  <p>What I wanted to achieve is that I want to embed either of the two small images on top of a large image and save it using JavaScript.</p>
  
  <pre><code> &lt;html&gt;
      &lt;body&gt;
          &lt;img src="largeimg" /&gt;
          &lt;p&gt;Select the image to embed on the large image&lt;/p&gt;
          &lt;img src="smallimg1" /&gt;
          &lt;img src="smallimg2" /&gt;
      &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>Is there any way to achieve the above using javascript?</p>