Completely disabling certain delegates and image coders
Posted: 2007-06-16T05:31:13-07:00
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?
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?