title: Merge two png images with transparency and retain transparency
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/465172/merging-two-images-in-c-net">Merging two images in C#/.NET</a>  </p>
  </blockquote>
  
  
  
  <p>I have two png format images and both have transparency defined. I need to merge these together into a new png image but without losing any of the transparency in the result. Think of the first image as the main image and the second is used to add an overlay, such as a add/edit/delete indicator. I am trying to create a little utility that will take a main image and a set of overlays and then generate the resultant set of output images that combine them.</p>
  
  <p>There seem to be plenty of answers with solutions for PHP but nothing for C#/</p>