How to merge images in command line?
command-line, image-processing, linux
Solution
You can also try ImageMagick which is great for creating CSS sprites. Some tutorial about it here.
Example (vertical sprite):
convert image1.png image2.png image3.png -append result/result-sprite.png
Example (horizontal sprite):
convert image1.png image2.png image3.png +append result/result-sprite.png
Problem
I would like to try the CSS Sprite technique to load a few thumbnails as a single image. So I need to "merge" a few thumbnails in a single file offline in the server. Suppose I have 10 thumbnails of the same size. How would you suggest I "merge" them from Linux command line?