• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
crop left half of image via script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Bug with "missing value"
  • Next by Date: Re: Bug with "missing value"
  • Previous by thread: Re: Bug with "missing value"
  • Next by thread: Re: crop left half of image via script
  • Index(es):
    • Date
    • Thread