Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 have a set of images that are named foo-N.jpg, where N is a number from 0 to 100.

I'd like to stitch them together such that I have one long image, where foo-0.jpg is at the left and foo-100.jpg is at the right.

I can do this manually in Photoshop or Fireworks, but it'd take forever.

Is there a way to do this in bulk, like perhaps with Automator, Terminal, or an app?

share|improve this question
This is off topic, try – Graeme Hutchison Jan 12 '12 at 10:10
@GraemeHutchison I'm asking how to automate a repeated action in OS X using OS X tools. I'm not quite sure how it's off-topic or how a site for photography would be able to answer an OS X automation question: can you elaborate? – user6703 Jan 12 '12 at 10:14
OK its fine, thought you might get a better response from people who may do this all the time. i.e photographers. Seems you have the answer you were looking for so thats good. – Graeme Hutchison Jan 14 '12 at 0:21
up vote 5 down vote accepted

You can do it with Imagemagick from a terminal. If you have Homebrew, installing it is as easy as:

brew install imagemagick

Once you have it, open the terminal and go to the folder where you have the pictures, then do:

convert foo* +append result.jpg

And there you have it, your 100 pictures in a row. You can also make a column with them, instead of +append use -append.

share|improve this answer

Your Answer


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