How get ImageMagick filters dir -
some versions ago there command filters
(and coders
) imagemagick dirs:
magickcore-config --filter-path
but (i use 6.8.0 version) seems there no such command anymore. command give error. seems there no such option --filter-path
.
so how should filters
dir?
magickcore-config script. performs pkg-config calls. content of /opt/local/lib/pkgconfig/imagemagick.pc (there no link filters dir exists):
prefix=/opt/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include/imagemagick name: imagemagick description: imagemagick - convert, edit, , compose images version: 6.8.0 libs: -l${libdir} -lmagickcore cflags: -i${includedir}
i found filters dir manually on system @ /opt/local/lib/imagemagick-6.8.0/modules-q16/filters
. need automated way.
the error overpassed next way:
according http://www.imagemagick.org/script/resources.php there user-related dir filters , coders: $home/.magick
. use in scripts.
you need set following environment variable, actually:
export magick_coder_filter_path=$home/.magick/filters
Comments
Post a Comment