• 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: Scripting graphics manipulations, improving speed overGraphicConverter 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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}


  • Follow-Ups:
    • Re: Scripting graphics manipulations, improving speed overGraphicConverter 4
      • From: Jeremy Reichman <email@hidden>
  • Prev by Date: [OT] Extended mailto: links. The bad news?
  • Next by Date: Re: Quark: short & sweet script: delete to end
  • Previous by thread: [OT] Extended mailto: links. The bad news?
  • Next by thread: Re: Scripting graphics manipulations, improving speed overGraphicConverter 4
  • Index(es):
    • Date
    • Thread