I would like to make a 4 X 4 photo grid collage at 1080 X 1080 pixel resolution without using third party apps on my Mac. Keyboard maestro or Automator doesn’t have this function directly as far as I can see.
On an iOS device I have Workflow to do this. But I can’t figure out how to do it on a Mac.
I built an Automator Service which, when installed, allows the user to select a number of images in Finder, then right click and select Services -> Make Collage
Installation
In order to work correctly, ImageMagick has to be installed. The easiest way to install ImageMagick is via HomeBrew:
If Homebrew is not installed or if you are unsure, install it by opening Terminal (search in Spotlight), pasting /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and typing Return. After the installation is complete, ImageMagick can be installed by pasting the following into Terminal:
Download the file “Make Collage.workflow” to your downloads folder.
Open another Finder window by typing cmd-n.
Press cmd-shift-g to open a “Navigate To” dialog in Finder.
Paste “~/Library/Services/” into the dialog and hit Return. Finder should now navigate to the directory where Automator looks for services.
Drag the file “Make Collage.workflow” to the Finder window that is navigated to “~/Library/Services/”.
Close both Finder windows.
Verify that the script works by selecting four images in Finder, right clicking and selecting “Services” (or the equivalent depending on which language you use with macOS).
In the list of services, a new one named “Make Collage” should be present. Click it.
Automator will now ask for the name of the output file and the longest side length (in pixels) of the final collage.
After a few seconds, the collage will be created in the same Directory as the images you selected.
And don’t forget to install Imagemagick as described in my previous comment.
Thanks so much for putting so much effort. I’ve put Make Collage.workflow in the services library, it appears in the services menu. But it won’t run “File damaged”
Zip file downloaded. All set. It was the dropbox sharing issue. Safari will automatically unzip the archive… anyway it’s sorted.
We’re almost there. I made a mistake with the request: I have 4 jpg files, to make a 2 x 2 grid. So when i selected 4 files and Make Collage I got this: The action “Run AppleScript (Verify that the number of selected images is feasible for a collage.)” encountered an error.
Hmm… that’s one of the tests I built into the script to ensure that a feasible number of images were selected (fewer than 100 and not a prime number). Are you sure you selected four images? Also, try with just one image nust to see that it works.
@evanfuchs@kensheah
I’ve now rewritten the Service such that it does not use any Apple Script, only shell script. It does not perform any checks on the number of selected imaged either, so please beware of that. Also, it assumes that the file names don’t contain any spaces.
Please download and try the new (and hopefully final) version here: