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

Home » Public Forums » archive » Re: ps to jpeg conversion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: ps to jpeg conversion [message #83360] Thu, 28 February 2013 13:26
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
If you cannot find the convert command of ImageMagick, go to the Terminal and type in

$ which convert

which should output where the file is located. For me, I get

> /usr/local/bin/convert

So, I add this to my startup:

SetEnv, 'PATH=/usr/local/bin:' + GetEnv('PATH')

(I don't recall why exactly I don't use $PATH, but GetEnv instead.)

With this, I get
IDL> print, cgHasImageMagick()
1

Cheers,
Phillip
Re: ps to jpeg conversion [message #83362 is a reply to message #83360] Thu, 28 February 2013 10:04 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkmvarma@gmail.com writes:

> I am using coyote graphics to convert a ps file into a jpeg file but it fails to convert it and shows a message that imagemagick is not installed. I am using a MAC and I have installed imagemagick but not through macports. Looks like the program is not able to find the convert command. Can anyone help me with this?

http://www.idlcoyote.com/cg_tips/findimonmac.php

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL use by OS
Next Topic: Re: IDLgrPolygon unexpected result

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

Current Time: Wed Oct 08 15:16:10 PDT 2025

Total time taken to generate the page: 0.37324 seconds