Page 1 of 1

roundRectangle has wrong strokewidth

Posted: 2009-12-20T11:47:36-07:00
by Opaxtl
Hello,

this code

Code: Select all

convert test1.bmp -fill none -stroke #154997 -strokewidth 4 -draw "roundRectangle 10,10 100,100 16,16" test2.bmp
draws a 5 pixel width round rectangle. ImageMagick version is 6.5.7 Q16 on a windows xp system.

Thanks.

Re: roundRectangle has wrong strokewidth

Posted: 2010-04-08T16:29:20-07:00
by anthony
Modifying the command to use a plain canvas and magnifying the output...

Code: Select all

convert -size 120x120 xc: -fill none -stroke \#154997 -strokewidth 4 -draw "roundRectangle 10,10 100,100 16,16" -crop 30x30 -scale 2000% show:
shows a width of rectangle is 5 pixels. this is on IM v6.6.1-1 under linux.