且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何旋转具有固定中心的合成图像?

更新时间:2023-11-21 11:56:28

查看@frostyterrier的评论我认为他的问题是他需要+扭曲并使用-distort?

Looking into the comment by @frostyterrier I think his problem is he needs +distort and is using -distort?

此页面应该有所帮助: http://www.imagemagick.org / Usage / distorts / #srt

This page should help: http://www.imagemagick.org/Usage/distorts/#srt

旋转图像并拥有透明背景

Rotate an image and have a transparent background

convert input.jpg -background none -virtual-pixel background +distort ScaleRotateTranslate 30 output.png