Appending images vertically in ImageMagick

imagemagick

convert -append 1.jpg 2.jpg out.jpg

This command appends 1.jpg and 2.jpg horizontally. What is the command to do this vertically?

Best Answer

For vertical stacking (top to bottom):

convert -append 1.jpg 2.jpg out.jpg

For horizontal stacking (left to right):

convert +append 1.jpg 2.jpg out.jpg