[RESOLVED]possible draw bug IM 6.8.7.4 Q16

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

[RESOLVED]possible draw bug IM 6.8.7.4 Q16

Post 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?
Last edited by fmw42 on 2013-11-28T11:45:46-07:00, edited 1 time in total.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: possible draw bug IM 6.8.7.4 Q16

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible draw bug IM 6.8.7.4 Q16

Post 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.
Post Reply