Page 1 of 1

possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Posted: 2011-01-21T20:59:48-07:00
by fmw42
IM 6.6.7.1 Q16 Mac OSX Tiger:

I install the MagickFilterKit-1.0.0 and recompiled the attenuate process, but when running it there is no change in the image.

The install notes have an error for testing:

It says ...



to verify, type

convert logo: -process attenuate -verbose info:

You should get filter properties such as these:

Properties:
filter:brightness:kurtosis: 8.98864
filter:brightness:mean: 61190.8
filter:brightness:skewness: -3.04519
...


The command line is a carry over from when the example was analyze.c. The attenuate.c function should be something like:

convert rose: -process "attenuate 0.5" rose_darker.png

So I deleted the attenuate.lo and attenuate.la and recompile attenuate.c and then ran again

convert rose: -process "attenuate 0.5" rose_darker.png

but still no change in the image.

Am I doing something wrong or has something changed with respect to IM and the MagickFilterKit-1.0.0

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Posted: 2011-01-22T09:30:19-07:00
by magick
You'll need to post a URL to attenuate.c so we can download it and reproduce the problem.

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Posted: 2011-01-22T09:51:33-07:00
by fmw42
magick wrote:You'll need to post a URL to attenuate.c so we can download it and reproduce the problem.
Magick,

I have emailed it to you by private email.

Fred

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Posted: 2011-01-22T10:21:09-07:00
by fmw42
I also tried installing one of my own custom filters. It does show up in


cd /usr/local/lib/ImageMagick-6.6.7/modules-Q16/filters
ls
analyze.la attenuate.la reduceColors.la
analyze.so attenuate.so reduceColors.so


But the only one that works is analyze per

convert logo: -process analyze -verbose info:

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Posted: 2011-01-22T14:20:41-07:00
by fmw42
Thanks -- the new version you sent me works fine now.