Page 1 of 1

Manually set delegate path to gs on windows

Posted: 2012-05-15T08:04:02-07:00
by boromb
Hello,
I have a problem on my windows server where ImageMagick-6.7.6-Q8 and gs9.05 is installed when I
try to convert a .pdf file to a .png one.
When I run the command logged in as administrator everything works but a simple user can't run the same command.
The output I get when I run as simple user:
convert.exe: Postscript delegate failed ......


Running convert -list configure
C:\Program Files\ImageMagick-6.7.6-Q8>convert -list configure

Path: [built-in]

Name Value
-----------------------------------------------------------------------
NAME ImageMagick

Path: C:\Program Files\ImageMagick-6.7.6-Q8\configure.xml

Name Value
-----------------------------------------------------------------------
CC vs10
COPYRIGHT Copyright (C) 1999-2012 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES OpenMP
HOST Windows
LIB_VERSION 0x676
LIB_VERSION_NUMBER 6,7,6,9
NAME ImageMagick
RELEASE_DATE 2012-05-01
VERSION 6.7.6
WEBSITE http://www.imagemagick.org
Does anyone knows what the problem is in this case?
Can I manually point the patch to GS?
It feels like it fails finding GS.

The patch to GS can be found in System Enviroment "PATH".

Hope someone can help

Best regards!

Re: Manually set delegate path to gs on windows

Posted: 2012-05-17T21:20:23-07:00
by anthony
Under windows, a properly installed GS, has a registry setting the defines its location.

That is all I know - I myself am not a windows user.

Re: Manually set delegate path to gs on windows

Posted: 2012-05-18T02:07:23-07:00
by boromb
anthony wrote:Under windows, a properly installed GS, has a registry setting the defines its location.

That is all I know - I myself am not a windows user.
OK,

That my be the problem. Maybe a simple user don't have rights to read the registry?
Same command works for a admin user. So when imagemagick is run by administrator the program
can find the path to GS but otherwise not.

Thank you!

Best regards!

Re: Manually set delegate path to gs on windows

Posted: 2012-05-20T21:19:43-07:00
by anthony
Or the path leads to a 'user directory, and you are not that user? Windows has a weird method of user data separation.
But then I am not a windows user, so I'm probably blowing smoke.

I'll send a PM to a known windows user.

Re: Manually set delegate path to gs on windows

Posted: 2012-05-21T02:17:40-07:00
by whugemann
Anthony forwarded this message to me. I had already read it before, and I must say that I have no ready-made answer. As I've said several times, the interplay between IM and GS under Windows is a mystery to me, which has not been made easier as some registry settings seem to have moved to HKEY_CURRENT_USER.

In our local network, all users have administrator rights on their client PC and very restricted rights on our server. This may not be really going by the book, but saves us from a lot of such troubles.