Page 1 of 1

[resolved] potential bug -draw color floodfill IM 7.0.5.4 Q16

Posted: 2017-04-17T15:58:56-07:00
by fmw42
Reference: viewtopic.php?f=1&t=31782

Using Athony's example with the gold frame at http://www.imagemagick.org/Usage/thumbn ... ame_joints, I find that it works fine in IM 6.9.8.3 Q16, but has colored specks in the frame in the result for IM 7.0.5.4 HDRI Q16 (Mac OSX SnowLeopard). This first appears in the code after the first -draw "color 1,0 floodfill", when I put +write tmpX.png in various places. But just doing a simple image floodfill does not show this issue. So I think it is in combination with the tiling over the frame.

Input:
Image

Image

Image



IM 6

Code: Select all

convert thumbnail.gif -write mpr:image +delete \
goldthin_top.png -write mpr:edge_top +delete \
goldthin_btm.png -rotate 180 -write mpr:edge_btm +delete \
\
mpr:image -alpha set -bordercolor none \
-compose Dst -frame 25x25+25 -compose over \
\
-transverse -tile mpr:edge_btm \
-draw 'color 1,0 floodfill' -transpose -draw 'color 1,0 floodfill' \
-transverse -tile mpr:edge_top \
-draw 'color 1,0 floodfill' -transpose -draw 'color 1,0 floodfill' \
\
mpr:image -gravity center -composite -scale 400% frame_gold6.png
Image



IM 7

Code: Select all

magick thumbnail.gif -write mpr:image +delete \
goldthin_top.png -write mpr:edge_top +delete \
goldthin_btm.png -rotate 180 -write mpr:edge_btm +delete \
\
mpr:image -alpha set -bordercolor none \
-compose Dst -frame 25x25+25 -compose over \
\
-transverse -tile mpr:edge_btm \
-draw 'color 1,0 floodfill' -transpose -draw 'color 1,0 floodfill' \
-transverse -tile mpr:edge_top \
-draw 'color 1,0 floodfill' -transpose -draw 'color 1,0 floodfill' \
\
mpr:image -gravity center -composite -scale 400% frame_gold7.png
Image

Re: potential bug -draw color floodfill IM 7.0.5.4 Q16

Posted: 2017-04-18T14:01:15-07:00
by snibgo
The problem does not occur using v7.0.3-6.

Re: potential bug -draw color floodfill IM 7.0.5.4 Q16

Posted: 2017-04-23T10:39:42-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.

Re: potential bug -draw color floodfill IM 7.0.5.4 Q16

Posted: 2017-05-08T12:35:39-07:00
by fmw42
This issue seems to be fixed in the latest betas as of today (6.9.8.5 and 7.0.5.6)