possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Post by magick »

You'll need to post a URL to attenuate.c so we can download it and reproduce the problem.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Post 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:
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug with MagickFilterKit-1.0.0 in IM 6.6.7.1

Post by fmw42 »

Thanks -- the new version you sent me works fine now.
Post Reply