• 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
Re: getting height x width of image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting height x width of image


  • Subject: Re: getting height x width of image
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 20 Jun 2007 12:05:34 -0700

On Jun 20, 2007, at 11:44 AM, TjL asked how to get dimensions of an image.

This works for me:

tell application "Image Events"
	set {W, H} to dimensions of (open theFile)
	close theFile
end tell

--
Never play strip Tarot.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >getting height x width of image (From: TjL <email@hidden>)

  • Prev by Date: getting height x width of image
  • Next by Date: Re: getting height x width of image
  • Previous by thread: getting height x width of image
  • Next by thread: Re: getting height x width of image
  • Index(es):
    • Date
    • Thread