Re: How to make thumbnail
Re: How to make thumbnail
- Subject: Re: How to make thumbnail
- From: Martin Orpen <email@hidden>
- Date: Thu, 26 Feb 2004 17:33:05 +0000
on 25/2/04 3:10 pm, SAC maison at email@hidden wrote:
>
I need to make thumbnail from a lot of images. Is there a way to do it with
>
AppleScript and a Srcipting Addition? If yes, is there a way to define the
>
bound of the thumbnail? Example 80 X 80 or 120 x 120
If you've got a *lot* of images then you can crunch through them easiest in
Panther.
Using SIPS from the Terminal:
1. Duplicate the folder full of images (for safety)
2. CD to the folder
3. Type: sips -i -Z 120 *
4. Press return
You can get more info about SIPS by typing "sips -h" and "sips -H" in the
Terminal.
With AppleScript you can use "do shell script" to reproduce the SIPS
commands or use "Image Events" - whatever you find easiest.
For example:
tell application "Image Events"
launch
set this_image to open file this_item
scale this_image to size 200
save this_image as JPEG with icon
close this_image
end tell
We use a butchered version of an Apple folder action script to process huge
numbers of tiffs so that we can email 200 pixel jpgs to clients. You'll find
the script here:
http://prometheus.idea-digital.com/phpbb2/viewtopic.php?t=183
It's a lot faster than using Bloatoshop.
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.