can i stitch to images together side by side?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ncc1701d

can i stitch to images together side by side?

Post by ncc1701d »

Newby here,
I am trying to take 2 photographs and essentially stitch them next to each other side by side.
Which method can I use if any for this? I thought the montage tool would work but it change my images to thumbnail size. Any suggestions for me?
Thank you.
steve
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: can i stitch to images together side by side?

Post by Bonzo »

Its always a good idea to post the code you have tried.

You want to use convert and +append I have not used it very much but try:

Code: Select all

convert image1.jpg image2.jpg +append output.jpg
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: can i stitch to images together side by side?

Post by fmw42 »

If the images are the same dimension (at least in the direction opposite to the way you want them side-by-side or top-to-bottom, then you can use -append for (top-bottom) or +append for (left-right), respectively.

Montage should work also if you supply all the parameters (-geometry and -tile) properly, but append is much easier.
Post Reply