With a stroke of 2 this is fine.
Code: Select all
convert -size 80x60 xc:white -fill white -colorspace RGB \
-draw "stroke black stroke-width 2 stroke-linejoin round \
polyline 14,53 30,5 71,14 51,41" \
-colorspace sRGB draw_line2.png
![Image](http://www.imagemagick.org/Usage/bugs/testing/draw_line2.png)
But with a stroke of 3 it goes wrong.
Code: Select all
convert -size 80x60 xc:white -fill white -colorspace RGB \
-draw "stroke black stroke-width 3 stroke-linejoin round \
polyline 14,53 30,5 71,14 51,41" \
-colorspace sRGB draw_line3.png
![Image](http://www.imagemagick.org/Usage/bugs/testing/draw_line3.png)
But without the stroke-linejoin round it works correctly again!
Code: Select all
convert -size 80x60 xc:white -fill white -colorspace RGB \
-draw "stroke black stroke-width 3 \
polyline 14,53 30,5 71,14 51,41" \
-colorspace sRGB draw_line3_2.png
![Image](http://www.imagemagick.org/Usage/bugs/testing/draw_line3_2.png)
Last image will appear when IM Examples updates.