comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Locating ImageMagick on a linux fedora
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Locating ImageMagick on a linux fedora [message #94625 is a reply to message #94621] Wed, 26 July 2017 07:24 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
the program cghasimagemagick.pro tests whether imagemagick is present with the following code:
*****************
; Assume failure.
retval = 0

; To search for ImageMagick, I am going to spawn a call to convert.
; If the error_result is a null string, I assume this command worked.
; Otherwise, it didn't find ImageMagick.
; Spawn, 'convert -version', result, error_result
;
; If nothing is put in the error result, then we are good to go.
IF error_result[0] EQ "" THEN retval = 1
********************

From the Linux prompt what do you get for

%convert -version

From the IDL prompt what do you get for

IDL> print,cghasimagemagick()
;
On Wednesday, July 26, 2017 at 5:46:47 AM UTC-4, AGW wrote:
> I have installed ImageMagick on my computer but the Coyote Graphics commands can't seem to find it. What do I need to do make it available to them?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: create widget_label on the frame line
Next Topic: a little tip for reading modis data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 03:17:31 PDT 2025

Total time taken to generate the page: 0.64171 seconds