Manually set delegate path to gs 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
boromb
Posts: 17
Joined: 2009-01-29T03:20:34-07:00

Manually set delegate path to gs on windows

Post 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!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Manually set delegate path to gs on windows

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
boromb
Posts: 17
Joined: 2009-01-29T03:20:34-07:00

Re: Manually set delegate path to gs on windows

Post 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!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Manually set delegate path to gs on windows

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
whugemann
Posts: 289
Joined: 2011-03-28T07:11:31-07:00
Authentication code: 8675308
Location: Münster, Germany 52°N,7.6°E

Re: Manually set delegate path to gs on windows

Post 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.
Wolfgang Hugemann
Post Reply