Re: Scripting graphics manipulations, improving speed overGraphicConverter 4
Re: Scripting graphics manipulations, improving speed overGraphicConverter 4
- Subject: Re: Scripting graphics manipulations, improving speed overGraphicConverter 4
- From: "Bryan" <email@hidden>
- Date: Thu, 22 Mar 2001 05:55:14 -0500
Jeremy,
the record returned is actually
{type:"PSD", image width:174, image height:352, xRes:0.0, yRes:0.0, depth:8}
so you need to ask for "image width" instead of "width", which is a system
parameter.
Bryan
>
tell application "ImageMagick/AE"
>
open "Macintosh HD:ImageMagick_AE Folder:Testfiles:leila.psd"
>
set imageRef to the result
>
>
copy (info for imageRef) to imageInfo
>
>
close imageRef
>
end tell
>
>
width of (imageInfo as record)
>
---
>
imageInfo by itself returns: {type:"PSD", width:174, height:352, xRes:0.0,
>
yRes:0.0, depth:8}