try -draw "rotate 15 image over 100,100,200,200 'img1.jpg'"
You were sticking the rotate command inside a image command!
For more see IM Examples, Draw, Canvas Warping
http://www.cit.gu.edu.au/~anthony/graph ... #transform
Rotate and move image
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Not that hard. The image is rotated about the point 0,0.
You can translate the rotation point to fix that problem. See the IM examples pages I point you to previously.
You can translate the rotation point to fix that problem. See the IM examples pages I point you to previously.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Now that is wierd and is probably a bug, unless you have -virtual-pixels tile or something like that enabled.
However as it is not doing it top to bottom, I'd say you have a definate bug.
I added a bug report to the IM examples bugs page
http://www.cit.gu.edu.au/~anthony/graph ... s/testing/
However as it is not doing it top to bottom, I'd say you have a definate bug.
I added a bug report to the IM examples bugs page
http://www.cit.gu.edu.au/~anthony/graph ... s/testing/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
I have been told the above bug has now been fixed and will be in the next point release (6.2.6-6) of IM. Not sure when that will be though.
I am testing the alpha version for this fix now.
I am testing the alpha version for this fix now.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/