Re: JPEG file Info
Re: JPEG file Info
- Subject: Re: JPEG file Info
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 25 Sep 2001 21:10:47 -0400
- Organization: [very little]
>
Date: Tue, 25 Sep 2001 13:46:03 -0600
>
From: Lyle Petro <email@hidden>
>
Reply-To: email@hidden
>
To: email@hidden
>
Subject: JPEG file Info
>
>
Hi,
>
I was wondering if someone has ever tackled trying to parse a JPEG
>
file using AppleScript. I would like to get the file's pixel dimension
>
and resolution. I have written a rudimentary script that parses TIFF
>
files generated from Photoshop for image type (bitmap, grayscale, RGB,
>
or CMYK). Any help or pointers would be appreciated.
>
Lyle Petro
>
Saskatoon StarPhoenix
>
Saskatoon, Sask.
Unless you're particularly interested in reinventing the wheel, you can
get the information you want with one of the commands in the Akua Sweets
scripting addition. The command is "the picture info for". It returns
a record with what you asked for and a whole lot more.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[9/25/01 9:10:17 PM]