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
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