Combine Two Images into One on Mac – Easy Steps

image editingmacossoftware-recommendation

Say I have two photos (or any images), for example with the following dimensions:

+----------+       +----------+
|          |       |          |
|          |       |          |
|320 x 428 |  and  |320 x 428 | 
|          |       |          |
|          |       |          |
+----------+       +----------+

I want to combine them into a single image, side by side. So the result should be

+----------------------+
|                      |
|                      |
|      640 x 428       |
|                      |
|                      |
+----------------------+         

What's the simplest way to do this on a Mac? Is it possible with some default app like Preview, or would you recommend some 3rd party tool for the job?

Solution ✅

If I could, I'd accept these two answers:

Best Answer

I often have to do this with images of plots of data. I use the command line tools that come in the Imagemagick package; I think I installed it on my system with MacPorts. You could also choose to install with brew (brew install imagemagick).

The actual tool you want to use from Imagemagick is the convert tool. If you have your two 320x428 images, say a.png and b.png, you can do

convert +append a.png b.png c.png

to create a new file, c.png, that has the a.png on the left and b.png on the right. Alternatively, you append them vertically with -append (instead of +) and a.png will be on top of b.png. With convert, you can do a ton of other things. For example, you can switch to a different image format for the output

convert +append a.png b.jpg c.tif

This isn't a GUI application, but maybe some others might have a better solution. Alternatively, you could put this in some sort of automator script.

2020-12-10: I used it on 2020-12-10 and now the correct code is

convert +append a.png b.jpg +append c.tif