Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

If you were used to using the Preview app for resizing images in batch, both in macOS Sierra and OS X El Capitan the 'Save All' feature has been removed so it became a real pain to use. Nobody wants to click 'Save' on every single image after resizing them all (especially if you have dozens or hundreds of images), but luckily there is a way to simplify and automate this process.

I originally came across this article that explained how to create a Service with the Automator app. That article was useful but it restricted image resizing to a single size, which to me is completely not acceptable. I decided to improve on that solution and show how a Service can be created that would resize images to any size either in pixels or as a percentage value, based on user input. Here's how.

First launch the Automator app and create a new document (File > New), then select Service as the document type.
macosimgresize_1.png


Next make sure you set the following:
  • Service receives selected - image files
  • in - any application


Then add the following two actions (use the search box to find them quickly):
  • Get Specified Finder Items
  • Scale Images


For the Scale Images action enter a default value to use for the size, I chose 1280 since that's what I typically resize images to. Also make sure to tick the 'Show this action when the workflow runs' check box under the Options tab.
macosimgresize_2.png




You can now Save your service with a meaningful name like 'Resize Images'.

Now when you right-click and image file you can go to Services and you will see that 'Resize Images' is an option that can be clicked.
macosimgresize_4.png


When clicked, an input box is shown asking for the image size. This value can be entered either in pixels or as a percentage. Remember this is the horizontal size for the image, the vertical size will be worked out automatically based on the aspect ratio of the image.
macosimgresize_5.png


-i

Please leave your comments or feedback below!
comments powered by Disqus
Other posts you may like...
Hi! You can search my blog here ⤵
Or browse the recent top tags...

Recent Blog Posts

Mini review of the Sonoff B1 WiFi light bulb

Coherence cache performance optimistic vs replicated schemes

Coherence and weblogic.xml in different types of J2EE web app deployments

Atari Lynx repair - Part 5 - McWill LED screen mod installation

Atari Lynx repair - Part 4 - screen cover replacement

Atari Lynx repair - Part 3 - broken speaker replacement

Atari Lynx repair - Part 2 - re-capping the motherboard

Atari Lynx repair - Part 1 - introduction and case disassembly

jPhotoFrame updated to version 0.3.1 with an image rotation correction utility

iOS 11 pre-GM mini review before it gets revealed next week

Recent Galleries

Atari Lynx repair - Part 5 - McWill LED screen mod installation

Atari Lynx repair - Part 4 - screen cover replacement

Atari Lynx repair - Part 2 - re-capping the motherboard

Atari Lynx repair - Part 3 - broken speaker replacement

Atari Lynx repair - Part 1 - introduction and case disassembly

Building a custom Atari Lynx game box storage shelf unit in a day

Protecting old Atari Lynx game boxes with snug fit plastic sleeves

Monument Valley 2 is released and does not disappoint

Space Food - Chocolate Ice Cream with Chocolate Chips

Legeod Star Wars AT-DP kit

Blogs and Friends

Matt Moores Blog
Georgi's FlatPress Guide
Perplexing Permutations
The Security Sleuth
Ilia Rogatchevski
Travelling Fairy

Blog Activity

Blog Activity