开发者

In place rotation of overlay image on the background with ImageMagick

I have a small (100x80) overlay image which will be placed at x=40, y=50 on a transparent background(800x600) and then rotated 80 degrees in place.

convert  -size 800x600 xc:none -background transparent m01.jpg -rotate 80 -geometry +40+50  -composite final.png
开发者_如何转开发

rotates the merged image. how can i rotate only the overlay image in place(over the background at +40+50)?


found out that the layer specific operations need to be grouped by ()

convert -size 800x600 xc:none -background transparent \
 \( -page +40+50 01.jpg -rotate 80 \) -flatten final.png
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜