GhostScript Not Found

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Hineynu
Posts: 3
Joined: 2011-02-18T07:57:30-07:00
Authentication code: 8675308

GhostScript Not Found

Post by Hineynu »

Hi,

I installed IM 6.6.7-7-Q16 on my Win XP Home SP3 laptop so that I could use another open source app that requires it. I made the mistake of installing IM before installing Ghost Script 9.01 since I did not know IM requires GS. When I run PDF conversions in IM, I receive the error

Conversion Failed

Failed to convert file. Ensure GhostScript is installed.
http://pages.cs.wisc.edu/~ghost

When I list the delegates, it says

bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib

so gs is not listed.

I searched the forums and found messages saying to install IM after GS, so I uninstalled IM, rebooted, and installed IM again but am having the same issue. How do I tell IM that GS is installed at

c:\Program Files\ghostscript-9.01

?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: GhostScript Not Found

Post by el_supremo »

Check to see if Ghostscript is in your PATH environment variable. If it isn't, put its bin directory in the path and install IM again (on my Win7 system the path to gs is c:\program files (x86)\gs\gs9.00\bin). I think that's how I got them to install properly.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
Hineynu
Posts: 3
Joined: 2011-02-18T07:57:30-07:00
Authentication code: 8675308

Re: GhostScript Not Found

Post by Hineynu »

Than you for the suggestion! I uninstalled IM, rebooted, added ps to the DOS path, and reinstalled IM but it still did not work. gs is still not in the delegates list.

How else do I tell IM that GS is installed?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: GhostScript Not Found

Post by el_supremo »

My version of IM lists the same DELEGATES as yours. Try a PDF conversion again to see if it fails:

Code: Select all

convert logo: logo.pdf
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
Hineynu
Posts: 3
Joined: 2011-02-18T07:57:30-07:00
Authentication code: 8675308

Re: GhostScript Not Found

Post by Hineynu »

Thank you again for the suggestion. I added

C:\Program Files\ghostscript-9.01\lib

to the DOS path and ran

Code: Select all

convert logo: logo.pdf
without an error. The pdf looked good. That did it!
Post Reply