How quickly to combine two images into one on Mac OS X?

I faced with a problem how quickly to combine images. And want to share my experience.

For example, we have two images:

+----------+       +----------+
| | | |
| | | |
|320 x 480 | and |320 x 480 |
| | | |
| | | |
+----------+ +----------+

And we want to combine into a single image:

+----------------------+
| |
| |
| 640 x 480 |
| |
| |
+----------------------+

We will use the Imagemagick.

Install the package with help a package manager Homebrew. Install Homebrew, if you haven’t.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

And after that install Imagemagick.

brew install imagemagick

And now you can combine two images into one with simple command:

convert +append 1.png 2.png 3.png

I hope this would help to save time.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.