圖片組合、串接

垂直連接圖片
convert -append *.jpg out.jpg
montage -mode concatenate -tile 1x *.jpg out.jpg

水平連接圖片
convert +append *.jpg out.jpg
montage -mode concatenate -tile x1 *.jpg out.jpg

縮圖+排版
montage *.jpg -tile 1x -geometry 1024x+0+0 output.jpg

geometry: 縮圖大小跟邊界(設成x+0+0表示不縮圖)
tile: 排版成 X×Y 張

view raw cmd.md hosted with ❤ by GitHub