• 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: Imagemagick
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Imagemagick


  • Subject: Re: Imagemagick
  • From: "Fleisher, Ken" <email@hidden>
  • Date: Fri, 16 Nov 2007 11:31:39 -0500
  • Thread-topic: Imagemagick

In terminal, the correct data was returned in the terminal window.
In AppleScript, I got the following error using the following syntax:

set bar to do shell script "/usr/ImageMagick-6.3.5/bin/identify -verbose
/Mac HD" & foo & " 2>&1"

"dyld: Library not loaded: /ImageMagick-6.3.5/lib/libMagick.10.dylib
  Referenced from: /usr/ImageMagick-6.3.5/bin/identify
  Reason: image not found"

Note that the dyld IS loaded because it works from Terminal...


On 11/16/07 10:47 AM, "Skeeve" <email@hidden> wrote:

> Fleisher, Ken wrote:
>> Hello. I am trying to use imagemagick from AppleScript
> If you get the empty string, try whether or not the output comes through
> STDERR.
>
> Either in terminal:
> identify -verbose file  2> /dev/null
>
> If you get nothing, Outpu
> t comes through STDERR
>
> or directly by appending  " 2>&1"
>  to your do shell script:
>
> set bar to do shell script "identify -verbose " & quoted form of foo & " 2>&1"
>
>
>  _______________________________________________
> 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


--
Ken Fleisher

Photographer
Imaging & Visual Services
National Gallery of Art
Washington, D.C.

Phone: (202) 712-7471
email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Imagemagick
      • From: Axel Luttgens <email@hidden>
    • Re: Imagemagick
      • From: Skeeve <email@hidden>
References: 
 >Re: Imagemagick (From: Skeeve <email@hidden>)

  • Prev by Date: Re: Imagemagick
  • Next by Date: Re: Did 10.4.11 kill applescript?
  • Previous by thread: Re: Imagemagick
  • Next by thread: Re: Imagemagick
  • Index(es):
    • Date
    • Thread