How to make changes to delegates

Asked by Craig Constantine on 2013-05-01

I would like to make a change to the "delegates.xml" file in "/usr/lib/ImageMagick-6.5.7/config".

Is there any hook for local installation changes/extensions for the delegates? Or a way to configure using an alternate XML file that we can keep locally configured?

(I'm trying to avoid in-place editing the XML file which is owned/managed by the package.)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu imagemagick Edit question
Assignee:
No assignee Edit question
Solved by:
Craig Constantine
Solved:
2013-05-02
Last query:
2013-05-02
Last reply:

Answering my own question:

------------from the imagemagick docs------------

Under Unix and Linux, ImageMagick searches for each of the configuration files listed above by looking in the locations given below, in order, and loads them if found:

  $MAGICK_CONFIGURE_PATH
  $PREFIX/etc/ImageMagick
  $PREFIX/share/ImageMagick-6.8.5
  $HOME/.magick/
  <client path>/etc/ImageMagick/

The environmental variable $PREFIX is the default install path (e.g. /usr/local). The client path is the execution path of your ImageMagick client (e.g. /usr/local) .

For the Unix or Linux pre-compiled uninstalled binary distributions, the configuration load order is:

  $MAGICK_CONFIGURE_PATH
  $MAGICK_HOME/etc/ImageMagick
  $MAGICK_HOME/share/ImageMagick-6.8.5
  $PREFIX/share/ImageMagick-6.8.5
  $HOME/.magick/
  <client path>/etc/ImageMagick/
  <current directory>