Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Do some basic image manipulation via a free AppleScript app Apps
Want to do quick and dirty image editing on the fly? Let Image Events do the work for you. I created a free AppleScript app, which I've named uPad; download the script (112KB) (macosxhints mirror -- but use the original link as long as it works.), and then read on for some notes on how to use it...

uPad is an image manipulation utility that can convert, crop and pad, scale, and rotate images. It's an AppleScript that uses the Image Events process to read and manipulate images. For convenience, use a launcher to launch the AppleScript -- I'm using Spark. Or, for access from the menu bar, enable Show Script menu in menu bar in AppleScript Editor's General preferences, and put uPad in ~/Library » Scripts » Applications » Finder (you might have to create some of those folders yourself).

uPad moves selected files to a temporary folder on the Desktop, saves or moves files back to the target folder, and then deletes the temporary folder. After finishing, uPad will try to reappear with the manipulated files/folder selected in Finder. Type q to exit uPad. There are notes inside the script, or you can press i in the input box in the dialog to read some on-screen help. If you're script-confident, change the limiting variables near the top of the script to suit your workflow.

CAUTION: Work on duplicates if you don't want the original images to be moved to the Trash.
CAUTION: Manipulating images could result in reduced quality and loss of properties (e.g. alpha channels).

The good:
Manipulate multiple images, or a folder of images, without losing your Finder selection. App-like functionality without launching an app. Perform a number of manipulations on the same image batch without leaving uPad. It won't alter non-image files. Entirely original name.

The not-so-good:
The new image's metadata will not be same as that of the original. It can thrash a processor if manipulating many/large images. I couldn't manipulate useable formats sometimes, but converting to another format and back solved this for me. (This can cause image-data loss, though.) Hide a bottom-positioned Dock to see all the info on an 800-pixel-high screens. It could use extra buttons for design's sake (AppleScript dialogs only take three buttons).

I hope someone finds this useful; I use it a lot to make iTunes artwork.
    •    
  • Currently 3.18 / 5
  You rated: 5 / 5 (11 votes cast)
 
[6,910 views]  

Do some basic image manipulation via a free AppleScript app | 5 comments | Create New Account
Click here to return to the 'Do some basic image manipulation via a free AppleScript app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Tip: creating & opening the scripts folder
Authored by: u2mr2os2 on Mar 03, '10 08:25:26AM
Once you turn on the scripts menu, you can use it to create any application folder you need in ~/Library/Scripts/Applications. First activate the app you want to make a folder for, in this case the Finder, then click on the script menu and choose:
Open Scripts Folder > Open Finder Scripts Folder
This will create any folders needed and open it so you can easily drag the script in that you want.

[ Reply to This | # ]
Do some basic image manipulation via a free AppleScript app
Authored by: philostein on Mar 03, '10 01:32:45PM

Hi, I submitted this hint, not sure why it's anonymous!

I would like to add that uPad is best suited for small to medium use. Although uPad can manipulate very large batches of images, if you're doing this regularly then a dedicated app would surely be faster and more reliable. uPad is better for quick use from within Finder.

Good luck RobG!
Cheers, PhilHints.



[ Reply to This | # ]
Do some basic image manipulation via a free AppleScript app
Authored by: robg on Mar 03, '10 05:25:08PM

You must not have been logged in when it was submitted (I can't edit the author when publishing a hint). I've gone into the database and set it properly now, though.

-rob.



[ Reply to This | # ]
Do some basic image manipulation via a free AppleScript app
Authored by: philostein on Mar 04, '10 04:17:44AM
Aahhh… that might explain it. I think it's time for me to retire…

[ Reply to This | # ]
Do some basic image manipulation via a free AppleScript app
Authored by: sys0p on Mar 04, '10 12:12:26AM
amazing - however, I would go for imagemagick - At the end OS X is a unix system ! :)

[ Reply to This | # ]