For those of us coming from the Windows platform, that have used the Image Resizer PowerToys for Windows XP (yeah I know: from way back in the day), here a free application for MacOS X users to have that same functionality as well.
Simply right click an image, choose the desired size and your images will be resized automatically without modifying the original file.
I’ve expended the functionality a little bit, by adding the option to convert a Retina image straight to “classic” (50% size reduction) and after resizing the option to automatically attach the resized images to an email, ready to be send to friends and family …
Windows XP PowerToys – Image Resizer
Back in the day, my favorite PowerToy was the Image Resizer. PowerToys were small applications offered for free by Microsoft offering slick and easy to use “toys” that could make your daily work just easier.
The Image Resizer allowed quick resizing of pictures, something I still miss as a standard part of Windows 7, Windows 8, and yes also under MacOS X.
For those interested, Image Resizer can still be downloaded:
Finding a version for MacOS X was harder than expected, and while playing with Apple Automator and AppleScript, I decided to create my own application that would achieve the same …
Resize eMail Picture(s)
Being new to AppleScript and Automator, my little app (only 7 Kb!) is not an exact clone of the original Windows XP Image Resizer PowerToy, but it does offer the same functionality. It probably will not win a beauty contest when it comes to the user interface, I was limited by the capabilities of Automator and in my experience in using it …
The little service allows you to right click one or more images to resize them:
- Mini (320 pixels)
- Small (640 pixels)
- Medium (800 pixels)
- Large (1024 pixels)
- Larger (1280 pixels or 720p)
- Big (1920 pixels or 1080p)
- Retina to Classic (50% size reduction)
- Do not resize (for use if you only want to email the pictures)
The indicated pixels is the maximum width and maximum height.
When resizing a picture, a copy of the original will be made, with a prefix in the filename to indicate it’s new size.
The original image will not be modified, and the new image will be stored in the same format – so JPEG remains a JPEG.
If you selected “Do not resize”, no extra files will be created of course.
After resizing you can optionally choose to have all these resized image to automatically be attached to a new email, making it easier to quickly send some (optionally) resized pictures to friends or family.
Keep in mind that this service only works with Apple Mail when using the “mail as attachment” option …
Download and Install
Select the version appropriate for your macOS version!
For Big Sur, the original method to attach images to an email simply froze Apple Mail.
For Mojave and Catalina, apple changed the Mail.app icon filename, and changed some path behaviors.
For Catalina, some of the AppleScript functions changed.
The ZIP file either includes a PKG file or WORKFLOW file, which one needs to double click to install the script.
Big Sur and Catalina Errors – Update your Security Settings …
Under Big Sur, and certain Catalina versions, the script will fail to resize images.
This is due to the increased security precautions implemented in macOS.
You’ll get an error something in the lines of:
The action “Run AppleScript” encountered an error: “Image Events got an error: image “<imagename>” doesn’t understand the “save” message”.
Unfortunately, Apple did not make the new security settings easy. For disk access, adding the resize script (which would be more appropriate) doesn’t work. So you’ll have to add the “Image Event” instead.
/System/Library/CoreServices/Image Events to System Preferences Security & Privacy Privacy Full Disk Access.
Download - Resize-eMail-Pictures-for-Big-Sur.zip
Download - Resize eMail Picture(s) (Catalina en Mojave)
Download - Resize EMail Pictures
Download - Resize And Email Picture (Yosemite Version)
The installer works like any other installer on the Mac, and the script will be copied in the
/Library/Services directory, so it will be available for all users.
To remove this application, simply delete the file
Resize eMail Picture(s).workflow from the
Big Sur users will find this script under “Quick Actions“.
You can enable/disable/locate the script from System Preferences Extensions Finder.
Image Resizer in Big Sur – Under Quick Actions
Older macOS versions
Using this service is simple: right click one or more images and select from the “Services” menu the option “Resize eMail Picture(s)“.
MacOS X Service – Resize and/or eMail Picture(s)
A small window will popup allowing you to select the desired maximum resolution.
The option “Do not resize” allows you to attach one or more images, unaltered, to an email.
The “Retina to classic (50%)” option resizes a Retina screenshot (for example) to the regular non-Retina resolution.
Resize Image – Select maximum width/height
You can double click the preferred option, or single click your preferred option followed by a click on the “Select” button.
Each selected file will now by copied and resized (unless you choose “Do not resize”). Depending on the selected size, a prefix will be added to the file name so you can easily identify the ones that you’ve resized.
As you can see in the example below:
I selected 3 files and had them resized to “Medium”, which resulted in 3 copies with the prefix “Medium”. The original files remain untouched.
Some example files after resizing
After making your selection a dialog will popup, asking you if you’d like to attached the resized (even if you picked “Do not resize”) to a new email.
If you select “Yes” (default is “No thanks” which will be selected when you press the Enter key), a new email will open with the pictures attached to it.
Would you like to attach the resized images to a new email?
Example of a new email with 3 pictures attached