![如何使用蒙太奇连接 3 张图像以使它们形成“倒三角形”?](https://linux22.com/image/1188416/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E8%92%99%E5%A4%AA%E5%A5%87%E8%BF%9E%E6%8E%A5%203%20%E5%BC%A0%E5%9B%BE%E5%83%8F%E4%BB%A5%E4%BD%BF%E5%AE%83%E4%BB%AC%E5%BD%A2%E6%88%90%E2%80%9C%E5%80%92%E4%B8%89%E8%A7%92%E5%BD%A2%E2%80%9D%EF%BC%9F.png)
我尝试使用montage
连接 3 幅图像,以便将 2 幅放在顶部,将 1 幅放在中间的底部,这样连接后的图像的整体形状有点像倒三角形。我尝试这样做:
montage -tile 2x1 img1.png img2.png img3.png temp.png
但结果我得到了两个文件:一个带有img1.png
并img2.png
调用temp-0.png
,另一个带有刚img3.png
调用temp-1.png
答案1
我用三张尺寸为 642x397 像素的图片进行了测试。
简单方法
montage 00-splash.png 02-iso-testing_installed-new-version.png 05-select-device_warning-and-overview.png -tile 2x2 temp1.png
高级两步法,让你得到我认为你想要的东西
montage 00-splash.png 02-iso-testing_installed-new-version.png -geometry 650x400 -tile 2x1 -auto-orient temp.png montage temp.png 05-select-device_warning-and-overview.png -geometry 1300x400 -tile 1x2 tmp2.png