我目前正在使用以下 ImageMagick 命令从多个 JPG 图像创建照片的“宝丽来堆栈”。
convert \
img-5.jpg -thumbnail 300x200 -bordercolor white -border 10 \
-bordercolor grey60 -border 1 -bordercolor none \
-background none -rotate -4 \
\
\( img-2.jpg -thumbnail 300x200 -bordercolor white -border 10 \
-bordercolor grey60 -border 1 -bordercolor none \
-background none -rotate 6 \
\) \
\
\( img-3.jpg -thumbnail 300x200 -bordercolor white -border 10 \
-bordercolor grey60 -border 1 -bordercolor none \
-background none -rotate -2 \
\) \
\
\( img-1.jpg -thumbnail 300x200 -bordercolor white -border 10 \
-bordercolor grey60 -border 1 -bordercolor none \
-background none -rotate -4 \
\) \
\
\( img-4.jpg -thumbnail 300x200 -bordercolor white -border 10 \
-bordercolor grey60 -border 1 -bordercolor none \
-background none -rotate 4 \
\) \
\
-border 100x80 -gravity center +repage -flatten -trim +repage \
-background black \( +clone -shadow 60x4+4+4 \) +swap -background none \
-flatten stack.png
此命令生成以下图像:
我想要做的是使图像偏离旋转选项当前使用的中心轴,以便照片之间有更多的水平(可能还有一点垂直)分离。
更具体地说,我希望能够通过将它们向左和向右移动(也许有点上下)来看到更多显示在最顶部图像边缘周围的底层图像。
我可以在上面的转换调用中添加哪些命令来实现这一点?