Filed under: Features, How-tos
Mac Automation: image tweaking plug-in for Finder
Here's a task that most computer users run into on a daily basis: cropping and dealing with small image tweaks. This could be a daunting task if it were not for the Mac and Automator. In this how-to, I will show you how to make a small Finder plug-in that will allow you to manipulate images quickly. Please note, some of the actions required for this how-to are dependent upon Pixelmator being installed. For this automation, you will need the following Automator actions (in the same order):
- Get Selected Finder Items
- Transform Images (this action is only available when you install Pixelmator)

After you have the actions in place, check the "Show this action when the workflow runs" check box in the options of the Transform Images action. This will enable you to change the type of image tweak done each time. Now it's time to save the workflow as a Finder plug-in. File > Save As Plug-in will get you to the plug-in save panel, type in the file name you wish to use and chose the plug-in format type "Finder."

This workflow will run by right-clicking on any image in the Finder, and selecting More > Automator > then the action name you saved.

When you run the workflow on your image, Automator starts to process the image (this may take a couple seconds depending on the image file size and your computer). The workflow will then copy your image in the same location where the original image is located. Once the copy process has ended, you will be presented with a dialog asking how you would like the image tweaked.

You can get to more options by choosing the drop-down menu that is highlighted (above) in red. Change settings as necessary and then select "Continue." The original image will be changed to the settings, leaving the copy untouched.
If you don't have Pixelmator, you can replace the "Transform Images" action with any of the following actions:
- Scale Images
- Crop Images
- Flip Images
- Rotate Images
I hope this Automation tutorial has been helpful to you. I invite you to post a comment with an Automation question that you would like to know more about (such as a task you would like to automate). I will answer these questions in a future Automation post.

![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
Joe di Stefano said 10:55PM on 2-12-2008
For those of you that don't have Pixelmator installed there is an alternative. Quicksilver has a plug-in called "Image Manipulation". Once enabled, you can select your images, invoke QS, type Image to bring up the "Scale Image" command, and then type a command like “fit 640×480 as jpg high progressive”
This is so slick - I format all my inline images for my blog to 500 pixels wide. Now instead of opening Photoshop, I just select it, bring up the command and type "fit 500x". Leaving of the value for either the height of width will just resize it proportionally.
Reply
sjmills said 5:50PM on 1-07-2008
The problem I have with Automator's Finder plugins is that they don't work when I use them from the Finder's contextual menu. They run, they just don't do the work they should be doing, ending without so much as a simple error dialog. I have to open the workflow and run it from Automator. This is in 10.5.1, probably 10.5 too.
Reply
Mikhail said 6:40PM on 1-07-2008
Does anyone know feature like this with Photoshop or without it?
Reply
bob said 7:12PM on 1-07-2008
record an action in photoshop
pepe said 7:18PM on 1-07-2008
I don't like windows - I really don't. Please don't shoot me. I just happened to need something like this for my people on the dark side.
http://www.rw-designer.com/picture-resize
So, this is cool. Mac still is supreme, but just in case you Windows people need it, here it is :-)
Reply
Antony Watts said 3:37AM on 1-21-2008
I have been using an Applescript for some time to go out on the internet and download weather GRIB files (for Europe), and various weather charts (Isobar chart is most useful)
I would like to see such a program in Automator.
Reply