Hi
I used this script to rotate a needle 300 degrees for further processing
for /l %%x in (0, 1, 300) do (
echo %%x
convert needle.png -distort SRT %%x output/Needlerotated%%x.png
)
the output images are indeed rotated but not over a fixed point (coordinate), it is rotating about a small circle....how can this be fixed????
rotate or STR about a coordinate not working at all
-
- Posts: 1
- Joined: 2016-04-25T17:50:58-07:00
- Authentication code: 1151
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: rotate or STR about a coordinate not working at all
I have moved this topic to the Users forum, since the Magick Scripting forum is a competely different topic related to XML imagemagick syntax. -distort SRT will rotate about the center of the image, if you do not provide a rotation center. See http://www.imagemagick.org/Usage/distorts/#srt