如何在imagemagick上以X,Y的偏移量移动(平移)图像?

Mai*_*tor 12 move imagemagick offset

我一直在谷歌搜索一段时间没有相关的结果.什么是采取图像的命令,通过X,Y像素的偏移移动/平移它并保存结果?

And*_*rea 15

你可以尝试这样的事情:

convert test.png -page +20+20 -background none -flatten newtest.png

其中+20+20代表你的x,y坐标.