Ghostscript on Windows

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
ronaldploeger
Posts: 7
Joined: 2011-03-25T09:06:07-07:00
Authentication code: 8675308

Ghostscript on Windows

Post by ronaldploeger »

Hi,

I have two versions of Ghostscript installed on my windows machine. ImageMagick is using the incorrect one. How to I tell ImageMagick which one to use?

Thanks,
Ronald
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Ghostscript on Windows

Post by el_supremo »

Check the PATH environment variable. It probably has the wrong one in the PATH.

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.
ronaldploeger
Posts: 7
Joined: 2011-03-25T09:06:07-07:00
Authentication code: 8675308

Re: Ghostscript on Windows

Post by ronaldploeger »

Hi Pete,

no - this is not the problem.
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Ghostscript on Windows

Post by el_supremo »

I've just been digging around in the code and IM gets the path to ghostscript from the registry. You would probably have to reinstall the one you want IM to use (or meddle with the registry which I wouldn't recommend).
It searches both HKEY_CURRENT_USER\SOFTWARE and HKEY_LOCAL_MACHINE\SOFTWARE for one of these versions:

Code: Select all

"GPL Ghostscript",
"GNU Ghostscript",
"AFPL Ghostscript",
"Aladdin Ghostscript"
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.
ronaldploeger
Posts: 7
Joined: 2011-03-25T09:06:07-07:00
Authentication code: 8675308

Re: Ghostscript on Windows

Post by ronaldploeger »

Hi Pete,

thanks for taking the time for digging this up for me. I appreciate it.

Best,
Ronald
Post Reply