Re: Imagemagick
Re: Imagemagick
- Subject: Re: Imagemagick
- From: "Fleisher, Ken" <email@hidden>
- Date: Wed, 28 Nov 2007 08:39:08 -0500
- Thread-topic: Imagemagick
Once I have done this once in my AppleScript, do I need to repeat the whole
thing each time I want to run a command from ImageMagick or is there an
abbreviated command I can send? I tried a quick test with just
"/usr/ImageMagick-6.3.5/bin/identify -verbose " & quoted form of foo" and it
failed.
Thanks.
Ken
On 11/28/07 8:31 AM, "Axel Luttgens" <email@hidden> wrote:
> On 28/11/07 14:07, Fleisher, Ken wrote:
>
>> Well, I didn't get an empty string! What I did get was an error that said:
>>
>> identify: no decode delegate for this image format
>> '/Users/k-fleisher/Desktop/ColorChecker_AdobeRGB_from_Avg.tif'.
>>
>> Just to make sure, I ran the command on the same file from Terminal and it
>> returned the correct results. Here is my code:
>>
>> set f to choose file
>> set foo to POSIX path of f
>> set bar to do shell script "export
>> DYLD_LIBRARY_PATH=/usr/ImageMagick-6.3.5/lib;
>> /usr/ImageMagick-6.3.5/bin/identify -verbose " & quoted form of foo
>
>
> Sorry, looks like I didn't sufficiently read the output of your set command.
> Perhaps would this one be the good one:
>
> set bar to do shell script "export
> DYLD_LIBRARY_PATH=/usr/ImageMagick-6.3.5/lib
> MAGICK_HOME=/usr/ImageMagick-6.3.5; /usr/ImageMagick-6.3.5/bin/identify
> -verbose " & quoted form of foo
>
> We are on the right track anyway!
> Axel
>
> _______________________________________________
> 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