I don't know about other programs but if you use photoshop when you open up one of those picture you should get something looking like this:
and on the Layer box you should see just one single layer, and when you move the pic to the other image with a background, it's trasparent and you have just the figure there.