stroke-linecap round bug with ellipse

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
t9mike
Posts: 4
Joined: 2015-03-18T10:02:37-07:00
Authentication code: 6789

stroke-linecap round bug with ellipse

Post by t9mike »

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:

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
yields broken endcap:
Image
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
is OK:
Image

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
mrph
Posts: 3
Joined: 2016-06-08T08:04:41-07:00
Authentication code: 1151

Re: stroke-linecap round bug with ellipse

Post by mrph »

I'm having the same problem and not just with ellipses but with paths as well. Using v6.9.4-5 Q16
mrph
Posts: 3
Joined: 2016-06-08T08:04:41-07:00
Authentication code: 1151

Re: stroke-linecap round bug with ellipse

Post by mrph »

I've posted an issue for this here: https://github.com/ImageMagick/ImageMagick/issues/215
mrph
Posts: 3
Joined: 2016-06-08T08:04:41-07:00
Authentication code: 1151

Re: stroke-linecap round bug with ellipse

Post by mrph »

This has been fixed in v6.9.4-9
Post Reply