M HYPE SPLASH
// news

Appending images vertically in ImageMagick

By Emma Valentine
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?

3 Answers

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
4

Use -append to stack images top-to-bottom.

Use +append to stack images left-to-right.

Source:

For latest imagemagick from V7 , the following is command

magick input1.jpg input2.jpg -append out.jpg

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy