Page 1 of 1

-draw rectangle

Posted: 2014-01-25T14:53:47-07:00
by snibgo
IM will successfully draw a rectangle with either width=1 or height=1, but draws nothing when both width and height are 1.

Sample code:

Code: Select all

convert -size 5x5 gradient: -draw "fill red rectangle 1,1 1,3" d1.png
convert -size 5x5 gradient: -draw "fill red rectangle 1,1 3,1" d2.png
convert -size 5x5 gradient: -draw "fill red rectangle 1,1 1,1" d3.png
IM v6.8.8-0 on Windows 8.1.

Re: -draw rectangle

Posted: 2015-05-05T06:02:11-07:00
by dlemstra
This issue will be fixed in the next release of ImageMagick (6.9.1-3)