Appending 2 images of different sizes?

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
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

To append images of difference sizes, use the montage program with a mode of concatenation (e.g. -mode concatentate).
User avatar
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

IM montage concatinate does not center align images. Though you can
do it without resorting to concatenate mode.
EG vertical append centered
montage images... -geometry '1x1+0+0<' -tile 1x output.png

I have noted this in IM examples at ... ge/#append
But example results have not been finished.

As an alturnative see appending images in IM examples. ... cs/#append
It gives methods of appending with alignment until such time as IM provides justification that is seperate to gravity.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
Post Reply