potential bug -fuzz with -floodfill IM 6.4.3-4

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

potential bug -fuzz with -floodfill IM 6.4.3-4

Post 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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post by anthony »

the 'color' and 'matte' operators should!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

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

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

Post by magick »

The problem you reported is fixed in the ImageMagick subversion trunk and will be available in the next point release. Thanks.
Post Reply