Page 1 of 1

Random noise

Posted: 2017-04-17T14:15:30-07:00
by Bonzo
I have just been trying a bit of Anthony's code out on my localhost - windows 10 and 7.0.3 Q16 and I am getting some random noise. I have a 6. something version on my server and it is not creating the noise. A V7 problem?

Image

Code: Select all

magick portrate.png -write mpr:image +delete ^
         01.jpg -write mpr:edge_top +delete ^
         01.jpg -rotate 180 -write mpr:edge_btm +delete ^
         mpr:image -alpha set -bordercolor none ^
         -compose Dst -frame 58x58+58  -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 ^
	result.png
Image

Re: Random noise

Posted: 2017-04-17T14:28:15-07:00
by snibgo
What is the minimum command that makes the noise? And the input image(s) to that command?

Re: Random noise

Posted: 2017-04-17T14:36:22-07:00
by Bonzo
I have reduced the command already to the above and I am not sure how much more to remove. It is the same with any input image so I did not bother uploading the input; just the frame image.
I can try to reduce the code further tomorrow night.

Re: Random noise

Posted: 2017-04-17T15:10:46-07:00
by fmw42
It is coming from the -draw "color x,y floodfill" step. But in conjunction with other commands. If I just do the floodfill step, it works fine on any image. Using IM 6 convert no color spots are showing. It could be due to getting some random fill color for the -draw rather than using the default white. I am not yet sure why you are getting the random colors from the -draw. But it does look like a bug to me in IM 7.

Re: Random noise

Posted: 2017-04-17T15:36:41-07:00
by fmw42
I get the same color spots showing in Anthony's example code at http://www.imagemagick.org/Usage/thumbnails/#frame_edge when using IM 7.

Re: Random noise

Posted: 2017-04-17T23:46:09-07:00
by Bonzo
Thank you for checking this out fmw42 and reporting the bug.

Re: Random noise

Posted: 2017-04-29T02:31:02-07:00
by dlemstra