Workflow Example: Image Combination & Order30 Sep 2015
This example workflow demonstrates various ways to combine images in differing orders. In Workflow the combine images action allows you to create a composite image by placing existing images linearly or in a grid and then creating a new larger image.
By default the images are put together in reverse chronological order - i.e. the newest comes first with the oldest at the end (combination starts from the top left). However with a bit of effort that ordering can be changed.
The workflow begins by prompting the user to select how to construct the image. The first option is to auto-select the last “N” images. The user enters the number and then the remainder of the process is automatic. The other two options require a manual selection of images.
Using the time ordering option, the user selects all of the images at once. Using the manual order however, the user will ned to go through a more tedious process. The user first enters how many photos they wish to select and then the workflow loops to allow the user to select that number of images but only one at a time - that’s what override’s the default time based ordering.
With the images selected and the order effectively set the workflow generates a single row combination of the images in the order specified. This is stored in a variable.
Next the workflow takes the set of images used to generate the composite image and reverses the order by simply reading them back in reverse order from the variable the images are stored in.
This reversed image set is now combined in the same way as before and then this image is added to the variable containing the previous combined image.
The variable holding the two images is then passed to the Combine Images action but this time set to combine vertically rather than horizontally. The final image is then the first row of images (auto-selected & time based, manually selected & time based or manually selected & manually ordered) on the top row and its reverse on the bottom row. The result is displayed via Quick Look action.