Re: Image file info?
Re: Image file info?
- Subject: Re: Image file info?
- From: "Roger Howard" <email@hidden>
- Date: Mon, 17 Sep 2001 16:23:10 -0700
If you use Akua Sweets it is quite easy... the following line will return the image dimensions as a two item list of integers. You can get many other handy properties of the image using "the picture info for"
tImgFile is a file ref or alias to the image, in case it wasn't obvious. It can also be an "image proxy" if you've already loaded the image with Akua for other purposes.
set tImgDims to items 3 thru 4 of (picture bounds of (the picture info for (tImgFile)))
---> (640,480)
Hope this helps!
Roger Howard
Digital Media Specialist
The J. Paul Getty Museum
email@hidden
310.440.6908
>
>> email@hidden - 17 Sep 2001 16:00:30 -0400 >>>
Hi All:
Is there a way to grab width and height dimensions of an image file using
AppleScript? Thanks for the help.
Regards
Steve