MagickFilterKit - convert does not try to load filters
Posted: 2013-08-09T11:43:59-07:00
Is ImageMagick supposed to dynamically load filters? I'm trying to develop a filter, but can't even get it to run.
runs the stock analyze filter, even if I modify and rebuild+reinstall the example.
If I rename the filter to "quantize" following instructions in the README.txt, build+install and then run:
I get:
I'm using ImageMagick 6.8.6-7 2013-07-27 on OS X 10.8 (my own build done via simple configure&&make, in /usr/local/bin/convert) and MagickFilterKit 1.0.1.
To build I run
My filter seems to be correctly installed (fragment of make install output):
Code: Select all
convert ~/Desktop/test1.png -process analyze -verbose info:
If I rename the filter to "quantize" following instructions in the README.txt, build+install and then run:
Code: Select all
convert ~/Desktop/test1.png -process quantize foo
When I run this command under dtruss I don't see it even trying to load any file with "quantize" in the name.convert: unable to load module `quantize' @ error/module.c/InvokeDynamicImageFilter/1651.
I'm using ImageMagick 6.8.6-7 2013-07-27 on OS X 10.8 (my own build done via simple configure&&make, in /usr/local/bin/convert) and MagickFilterKit 1.0.1.
To build I run
Code: Select all
aclocal; automake; autoconf; ./configure && make && sudo make install
Code: Select all
libtool: install: /usr/bin/install -c .libs/quantize.so /usr/local/lib/ImageMagick-6.8.6/modules-Q16/filters/quantize.so
libtool: install: /usr/bin/install -c .libs/quantize.lai /usr/local/lib/ImageMagick-6.8.6/modules-Q16/filters/quantize.la
libtool: install: /usr/bin/install -c .libs/quantize.a /usr/local/lib/ImageMagick-6.8.6/modules-Q16/filters/quantize.a