Code: Select all
magick ^
-size 1200x1000 ^
xc:lightgreen ^
-stroke darkred ^
-strokewidth 10 ^
-fill lightpink ^
-draw "rectangle 50,50 1150,950" ^
1200x1000.png
Changing the basic image shape to a square, and drawing a rectangle with this command...
Code: Select all
magick ^
-size 1200x1200 ^
xc:lightgreen ^
-stroke darkred ^
-strokewidth 10 ^
-fill lightpink ^
-draw "rectangle 50,50 1150,1150" ^
1200x1200.png
I provided the large examples above to make the issues visually obvious, but these problems also occur in much smaller examples.
I don't know if it's related, but I also have an issue with a '-draw "line ..."' operation in a lengthy command that completely locks up my computer. It freezes the whole system and requires a hard reset. I can reproduce it in the same command, and eliminate the problem by taking the "-draw" operation out of the command. I haven't come up with a simplified example yet to submit here for testing, but man, do I ever hate crashing my computer over and over to test stuff.