Which delegates.xml file is used?

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
frotty

Which delegates.xml file is used?

Post by frotty »

Hi,

I am trying to use tex4ht which uses ImageMagick to convert the figures. Now I would like to use the non-install version of ImageMagick (I have set PATH to the dir) and the ghostscript which is automatically installed with MikTeX, called mgs.exe.

I tried to replace the @PSDelegate@ in \imagemagick\delegates.xml with the absolute path to mgs.exe but it seems like convert is not using this delegates.xml file but another one. The command line still contains "gswin32c.exe" when executed which cannot be found of course.

Code: Select all

convert -list delegate
shows

Code: Select all

Path: delegates.xml
My system is Win XP with ImageMagick 6.5.5, MikTeX 2.8

Many thanks,
frotty
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Which delegates.xml file is used?

Post by magick »

Add -debug configure to your command line to track where ImageMagick is looking for its configuration files. See http://www.imagemagick.org/script/resources.php. It describes the search order ImageMagick employs.
Post Reply