append images using a grid

8

1

convert +append ...

appends images horizontally.

convert -append ...

appends images vertically.

Imagine i have a set of N images and i want to create to append the images following a grid of N/2 lines and 2 columns. How can i do that?

The best will be a direct method, but if it involves temporary images, it's ok for me

GuillaumeThomas

Posted 2011-08-01T11:45:50.060

Reputation: 917

Answers

6

Use the ImageMagick "montage" command, specifically the "-tile" option. See http://www.imagemagick.org/Usage/montage/ for details.

janneb

Posted 2011-08-01T11:45:50.060

Reputation: 987

Indeed, convert is not the only binary provided by imagemagick. Thanks! – GuillaumeThomas – 2011-08-01T12:55:31.340