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
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
Am I doing something wrong in my syntax or is this a bug?
[RESOLVED]possible draw bug IM 6.8.7.4 Q16
- 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
Last edited by fmw42 on 2013-11-28T11:45:46-07:00, edited 1 time in total.
-
- 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
Confirmed on Windows 7.
On Windows 7 ...
... 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.
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
snibgo's IM pages: im.snibgo.com
Re: possible draw bug IM 6.8.7.4 Q16
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.7-6 Beta available by sometime tomorrow. Thanks.