Completely disabling certain delegates and image coders

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
warp

Completely disabling certain delegates and image coders

Post by warp »

Hello

I want to disable certain delegates and image coders in a web application - without modifying the server-wide installation of ImageMagick.

I've found the delegates.xml for editing the delegates and supplied my own using MAGICK_CONFIGURE_PATH. ImageMagick finds and loads my config file, but unfortunately, it seems it will afterwards also load the system wide delegates file. Is there a way to _truly_ override the delegates file? I do not want to add to the delegates, I want to remove delegates without editting the system delegates.xml

Also, how can I disable certain built-in coders, so ImageMagick won't even try executing them? I found a magic.xml file which obviously maps certain magick cookies to file types - if I remove entries there, will the file types I remove there stop being decoded?
Post Reply