crop left half of image via script
crop left half of image via script
- Subject: crop left half of image via script
- From: grt <email@hidden>
- Date: Tue, 14 Jun 2005 00:34:25 +0200
hi,
while trying to cut the left half of an image I'm puzzled about how
to define this. My result so far:
set chosenFile to choose file
tell application "Image Events"
launch
set theFile to open chosenFile
crop theFile to dimensions {100, 40} -- (???)
tell application "Finder" to set savePath to (home as string) &
"Desktop:" & the name of theFile
save theFile as JPEG in file savePath with icon
--close file theFile
end tell
Can anybody point me in the right direction?
Grt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden