Code: Select all
convert -size 40x40 xc:black -fill black -stroke yellow -strokewidth 1 -draw "translate 20,20 line -2,2, 0,6 line 0,6 2,2 line 2,2 6,0 line 6,0 2,-2 line 2,-2 0,-6 line 0,-6 -2,-2 line -2,-2 -6,0 line -6,0 -2,2 stroke red rotate 45 line -2,2, 0,8 line 0,8, 2,2 line 2,2, 8,0 line 8,0, 2,-2 line 2,-2, 0,-8 line 0,-8, -2,-2 line -2,-2, -8,0 line -8,0, -2,2" xxx.jpg
Instead I get something like this:
It does, however, appear to work as expected in Linux.
When I enter this on Windows (notice the additional translates in the middle):
Code: Select all
convert -size 40x40 xc:black -fill black -stroke yellow -strokewidth 1 -draw "translate 20,20 line -2,2, 0,6 line 0,6 2,2 line 2,2 6,0 line 6,0 2,-2 line 2,-2 0,-6 line 0,-6 -2,-2 line -2,-2 -6,0 line -6,0 -2,2 stroke red translate -20,-20 rotate 45 translate 20,20 line -2,2, 0,8 line 0,8, 2,2 line 2,2, 8,0 line 8,0, 2,-2 line 2,-2, 0,-8 line 0,-8, -2,-2 line -2,-2, -8,0 line -8,0, -2,2" xxx.jpg
Is this a bug?