The Imagemagick package provides many utilities to display and manipulate images. The montage program creates tilings of several images.
Montage can use several image formats .
If your images were produced on an SGI workstation and have the extension rgb, be sure to read about SGI image formats . If In the following examples, I used 6 images, m1.xwd, m2.xwd, m3.xwd, m4.xwd, m5.xwd, and m6.xwd. Here are several commands and the results. The last file name is where the tiled image is stored. Don't forget to name the output image.