Image Handling Shortcuts

The Shortcuts app has a large number of actions that manipulate or alter images, and examples are convert, resize, crop, flip, mask, overlay (text or image), and remove image background. Most of these are easily implemented and their operation requires no explanation.

I thought I would write an example shortcut in which multiple images are resized. Other actions are then easily substituted.

Resize Images.shortcut (22.7 KB)

This shortcut uses the ExifTool utility to get an image’s Exif metadata, which is then saved to a text file.

ExifTool.shortcut (23.2 KB)

The following shortcut uses the ExifTool utility to remove all Exif data except orientation from a file selected in a Finder window. The selected file is not changed, and a duplicate file is instead created. In limited testing, the shortcut worked reliably on my Sequoia computer, but please test with duplicate files until the reliability of the shortcut is confirmed on your computer.

Remove Exif Data.shortcut (23.0 KB)

This shortcut applies a user-input pixel count to the selected image’s width or height, whichever is greater. A new file is created with the original file name but with the word resized appended. I primarily use this shortcut to quickly resize an image before uploading it to a social media site. The following screenshot only shows a portion of the shortcut.

Resize Image.shortcut (24.1 KB)