Rotate bug in Windows?
Posted: 2013-12-15T05:28:06-07:00
When I give this command on Windows:
I expect this output:
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):
I expect to get the broken image above (as I do on Linux), but instead I get the correct image above.
Is this a bug?
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?