stroke-linecap round bug with ellipse
Posted: 2015-03-19T05:32:19-07:00
Posted this as follow-up to viewtopic.php?f=3&t=26666. But perhaps it is a different bug. I am keen to know if this can be fixed or if there is a work-around. Thank you.
This script:
yields broken endcap:
But this:
is OK:
Mac version info:
This script:
Code: Select all
convert -size 220x220 xc: -draw 'fill none stroke-linecap round
stroke-width 20 stroke red ellipse 110,110 100,100 25,345' test.png
But this:
Code: Select all
convert -size 220x220 xc: -draw 'fill none stroke-linecap round
stroke-width 20 stroke red ellipse 110,110 100,100 95,345' test.png
Mac version info:
Code: Select all
Version: ImageMagick 6.9.0-0 Q16 x86_64 2015-03-16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms ltdl lzma openexr png ps tiff webp x xml zlib