I have a set of images, and I can use the Imagemagick montage command on them to produce a montage image file with transparent background (let\'s call this fg
montage
fg