VERY OLD BUG -- extra stroke on MVG with thick lines and round caps.
Posted: 2016-12-13T18:43:26-07:00
Polyline goes wrong on thick strokes and round linejoins
With a stroke of 2 this is fine.
But with a stroke of 3 it goes wrong.
But without the stroke-linejoin round it works correctly again!
Last image will appear when IM Examples updates.
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
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
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
Last image will appear when IM Examples updates.