Page 1 of 1

[RESOLVED]possible draw bug IM 6.8.7.4 Q16

Posted: 2013-11-07T20:44:27-07:00
by fmw42
The following works fine:

convert -size 100x101 xc:white \
-fill none -stroke red -draw "polyline 0,0 25,75 255,255 255,0" -flip 1tmp1.png

Image


But the following (equivalent MVG syntax), which used to work in my scripts, now does not:

convert -size 100x101 xc:white \
-draw "fill none stroke red polyline 0,0 25,75 255,255 255,0" -flip 1tmp2.png

Image


Am I doing something wrong in my syntax or is this a bug?

Re: possible draw bug IM 6.8.7.4 Q16

Posted: 2013-11-07T21:31:03-07:00
by snibgo
Confirmed on Windows 7.

On Windows 7 ...

Code: Select all

convert -size 100x101 xc:white -draw "fill none stroke red polyline 0,0 25,75 255,255 255,0" -flip 1tmp2.png
... makes a red line on versions up to 6.8.6-9, but makes the black shape on 6.8.7-0 onwards. If I remove "stroke none", I get both a black shape and red line on all versions.

Re: possible draw bug IM 6.8.7.4 Q16

Posted: 2013-11-08T06:07:40-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.7-6 Beta available by sometime tomorrow. Thanks.