Skip to Content

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)

When you drag the "Transform Images" action into the workflow area, it should automatically place the "Copy Finder Items" action into the workflow; this is in case you make a mistake in your editing process and need to go back to the original. Automator will also warn you that the "Transform Images" action will make changes to the file that you process through it (however, if the Copy Finder Items action is in place above the Transform Images action, the file that is edited will be copied before editing begins).



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
However, if you do not use the Transform Images action, your workflow will be for a single purpose and you will not be able to use the additional features the Transform Images action gives you.

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.

Categories

Features How-tos

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...
 

Add a Comment

*0 / 3000 Character Maximum

6 Comments

Filter by:
Joe di Stefano

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.

February 12 2008 at 10:20 PM Report abuse rate up rate down Reply
Antony Watts

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.

January 21 2008 at 2:59 AM Report abuse rate up rate down Reply
Pepe

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 :-)

January 07 2008 at 7:18 PM Report abuse rate up rate down Reply
Mikhail

Does anyone know feature like this with Photoshop or without it?

January 07 2008 at 6:38 PM Report abuse rate up rate down Reply
1 reply to Mikhail's comment
bob

record an action in photoshop

January 07 2008 at 7:09 PM Report abuse rate up rate down Reply
sjmills

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.

January 07 2008 at 5:50 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.