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.
Opaxtl
Post
by Opaxtl » 2009-12-20T11:47:36-07:00
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.
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Post
by anthony » 2010-04-08T16:29:20-07:00
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.