-draw rectangle
Posted: 2014-01-25T14:53:47-07:00
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:
IM v6.8.8-0 on Windows 8.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