Possible Bug ImageMagick 6.8.0-7 2012-11-23 Q8
Posted: 2013-01-22T12:16:45-07:00
Using the -edge command with a radius of 1 does not seem to work correctly. The output image is the same as the input. Radius 2 works OK, but the edge is 2 pixels wide, not 1 pixel.
The following illustrates the problem. You may recognize this from a recent post about another -edge bug (at http://www.wizards-toolkit.org/discours ... 81e#p88461), with the radius changed from 2 to 1:
convert -size 64x64 xc:white xc:black +append ( +clone -flop ) -append -edge 1 1test_img6.gif
Note: I couldn't figure out how to insert images. The (correct, IMO) result under ImageMagick 6.7.0-6 2011-06-07 Q16 is almost the same as the first image in the above post (the difference is that my result has a single pixel edge, not double).
ImageMagick 6.8.0-7 generates the second (incorrect) image in the above-referenced post.
I built under Windows using Visual Studio 2010 from sources contained in ImageMagick-windows.zip, downloaded on 11/27/2012 with SHA = 62481a8c5c90900559fbb66cfd917a1d26ded3ac525ea8fc0a2599edea02103e.
The following illustrates the problem. You may recognize this from a recent post about another -edge bug (at http://www.wizards-toolkit.org/discours ... 81e#p88461), with the radius changed from 2 to 1:
convert -size 64x64 xc:white xc:black +append ( +clone -flop ) -append -edge 1 1test_img6.gif
Note: I couldn't figure out how to insert images. The (correct, IMO) result under ImageMagick 6.7.0-6 2011-06-07 Q16 is almost the same as the first image in the above post (the difference is that my result has a single pixel edge, not double).
ImageMagick 6.8.0-7 generates the second (incorrect) image in the above-referenced post.
I built under Windows using Visual Studio 2010 from sources contained in ImageMagick-windows.zip, downloaded on 11/27/2012 with SHA = 62481a8c5c90900559fbb66cfd917a1d26ded3ac525ea8fc0a2599edea02103e.