Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a few tens of thousands of images all of 2000 pixel width, and I would like to pile them up in one big image of summed up height and 2000 pixel width. I guess there must be a way to do that with imagemagick but I couldn't find a way to script it out for tens of thousands of images. Any suggestions?

share|improve this question
Mosaic style? With each image a couple pixels across? – Caleb Jul 16 '11 at 13:55
just one under the other, with spacing. – 719016 Jul 16 '11 at 17:25
up vote 7 down vote accepted

Sounds like a job for the montage command.

montage -tile 1 -geometry +0+0 *.jpg ../big.jpg
share|improve this answer
works wonders, thx – 719016 Jul 16 '11 at 17:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.