Page 1 of 1

Ghostscript on Windows

Posted: 2011-03-25T09:11:44-07:00
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

Re: Ghostscript on Windows

Posted: 2011-03-25T09:57:46-07:00
by el_supremo
Check the PATH environment variable. It probably has the wrong one in the PATH.

Pete

Re: Ghostscript on Windows

Posted: 2011-03-25T10:20:20-07:00
by ronaldploeger
Hi Pete,

no - this is not the problem.

Re: Ghostscript on Windows

Posted: 2011-03-25T11:35:29-07:00
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

Re: Ghostscript on Windows

Posted: 2011-03-26T01:36:12-07:00
by ronaldploeger
Hi Pete,

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

Best,
Ronald