According to http://www.imagemagick.org/script/resources.php
Modules
ImageMagick's image format support is usually provided in the form of loadable modules. It searches for loadable modules in the following order and it uses the first match found:
$MAGICK_HOME/lib/ImageMagick-6.6.9/modules-Q16/coders/
$HOME/.magick/
<client path>/../lib/ImageMagick-6.6.9/modules-Q16/coders/
$MAGICK_HOME/lib/ImageMagick-6.6.9/modules-Q16/coders
$MAGICK_HOME/share/ImageMagick-6.6.9/modules-Q16/coders
$HOME/.magick/
<client path>/lib/ImageMagick-6.6.9/modules-Q16/coders
Does this same scheme work for filters? Therefore should I be able to put my custom filters in $HOME/.magick or $HOME/.magick/filters and thus not have to install them each new major release?
user directory for filter modules
Re: user directory for filter modules
The documentation is out of sync with the changes we initiated from the recommendations from the Debian Linux team. We'll update the documentation sometime today.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: user directory for filter modules
magick wrote:The documentation is out of sync with the changes we initiated from the recommendations from the Debian Linux team. We'll update the documentation sometime today.
Will the current MagicFilterKit (and custom one you sent me) still put the compiled filter files in the right place?
Re: user directory for filter modules
MagickFilterKit picks up the configuration paths from the MagickCore-config which is configured when you install ImageMagick. So yes, your old kits should install properly with the current configuration scheme.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: user directory for filter modules
magick wrote:The documentation is out of sync with the changes we initiated from the recommendations from the Debian Linux team. We'll update the documentation sometime today.
Looks like some things have changed. Forgive my ignorance and if this is premature, but I don't see anything about Filters. Do I assume the same scheme applies to Filters as to Modules, that is
$MAGICK_HOME/lib/ImageMagick-6.6.9/modules-Q16/filters/
$HOME/.magick/
<client path>/../lib/ImageMagick-6.6.9/modules-Q16/filters/
$MAGICK_HOME/lib/ImageMagick-6.6.9/modules-Q16/filters
$MAGICK_HOME/share/ImageMagick-6.6.9/modules-Q16/filters
$HOME/.magick/
<client path>/lib/ImageMagick-6.6.9/modules-Q16/filters
If that is the case, may I edit the page to indicate such?
Second, may I put my custom filters in a subdirectory of $HOME/.magick/ or need they be individually in that directory?
Third, why is $HOME/.magick/ listed twice for modules?
Re: user directory for filter modules
You can edit the web pages anytime. Your assumption about the filter path is correct.
If you put your filters in a subdirectory of $HOME/.magick/, ImageMagick most likely won't find them since it would not be in the search path.
If you put your filters in a subdirectory of $HOME/.magick/, ImageMagick most likely won't find them since it would not be in the search path.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: user directory for filter modules
magick wrote:You can edit the web pages anytime. Your assumption about the filter path is correct.
If you put your filters in a subdirectory of $HOME/.magick/, ImageMagick most likely won't find them since it would not be in the search path.
I will edit it. But there is still two items listed for $HOME/.magick/ in Modules. Which is correct? I would assume the one lower down is the correct one. Is that correct or not?
Re: user directory for filter modules
Right, use the second, delete the first.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: user directory for filter modules
Fixed and duplicated list for filters.magick wrote:Right, use the second, delete the first.