Page 1 of 1

potential bug -fuzz with -floodfill IM 6.4.3-4

Posted: 2008-08-26T18:07:26-07:00
by fmw42
IM 6.4.3-4 Q16 Mac OSX Tiger

-floodfill does not seem to honor the fuzz settings!

(am I doing something in error?)


convert -size 100x100 xc:white \
-fill none -stroke red -strokewidth 2 \
-draw "circle 50,50 75,50" \
tmp_circle_open.png
Image

convert -size 100x100 xc:white \
-fill none -stroke red -strokewidth 2 \
-draw "circle 50,50 75,50" \
-fill red -floodfill +50+50 white \
tmp_circle_floodfill0.png
Image

convert -size 100x100 xc:white \
-fill none -stroke red -strokewidth 2 \
-draw "circle 50,50 75,50" \
-fill red -fuzz 100% -floodfill +50+50 white \
tmp_circle_floodfill100.png
Image

Note I also get the same results using:

-fill red -fuzz 100% -draw "color 50,50 floodfill" \
rather than
-fill red -fuzz 100% -floodfill +50+50 white \

But I am not sure if -draw should honor the fuzz setting? Should it?

Re: potential bug -fuzz with -floodfill IM 6.4.3-4

Posted: 2008-08-26T23:51:54-07:00
by anthony
the 'color' and 'matte' operators should!

Re: potential bug -fuzz with -floodfill IM 6.4.3-4

Posted: 2008-08-27T10:33:41-07:00
by fmw42
but they don't or at least the "color" operator does not. This may be a larger issue with -fuzz as there have been other reports of failure on the User's forum as well

Re: potential bug -fuzz with -floodfill IM 6.4.3-4

Posted: 2008-08-27T10:36:22-07:00
by magick
The problem you reported is fixed in the ImageMagick subversion trunk and will be available in the next point release. Thanks.