Whether or not this is a bug or a feature, it is unfortunate that it isn't mentioned (and even more unfortunate, in my view, that -draw doesn't work with -region). The only thing I see in the doc that connects -draw and -region is the following, in the -draw section, when rotations are discussed:-region geometry
Set a region in which subsequent operations apply.
"If the -region option precedes the -draw option, the origin for transformations is the upper left corner of the region."
In any case, the following does not draw a green disk in the center of the region:
Code: Select all
magick -size 100x100 xc:black -fill blue -draw "circle 50,50 20,20" \
-region 50x50+25+25 -fill green -draw "circle 25,25 0,25" \
-fill yellow -colorize "50%" badregion.png
I have a nagging feeling I've seen this mentioned somewhere, but I can't seem to find it in the discourse-server. So I'm perhaps just adding my own nagging feeling about the matter.
Rick