I have five images of sizes: 600x30, 600x30, 600x30, 600x30, 810x30. Their names are: 0.png, 1.png, 2.png, 3.png, 4.png, respectively.
How do I merge them Horizontally to make an image of size 3210x30 with ImageMagick?
ImageMagick ships with the montage
utility. Montage will append each image side-by-side allowing you to adjust spacing between each image (-geometry
), and the general layout (-tile
).
montage [0-5].png -tile 5x1 -geometry +0+0 out.png
Other examples can be found on Montage Usage page