How to merge images at the command line with ImageMagick
From steamWiki
This is a quick article on how to merge a set of images, under Linux, at the command line using the convert command of ImageMagick.
To merge a set of images into a horizontal line, use the -append flag with convert. Here is an example:convert a*.png -append arow.png
convert b*.png +append bcolumn.png