并排合并图像(水平) [英] Merge Images Side by Side(Horizontally)
本文介绍了并排合并图像(水平)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有五张尺寸的图片:600x30,600x30,600x30,600x30,810x30。他们的名字分别是:0.png,1.png,2.png,3.png,4.png。
I have five images of sizes: 600x30, 600x30, 600x30, 600x30, 810x30. Their names are: 0.png, 1.png, 2.png, 3.png, 4.png, respectively.
如何将它们水平合并以制作一个图像大小为3210x30,带ImageMagick?
How do I merge them Horizontally to make an image of size 3210x30 with ImageMagick?
推荐答案
ImageMagick附带蒙太奇
效用。蒙太奇将并排添加每个图像,允许您调整每个图像之间的间距( -geometry
)和一般布局( -tile
)。
ImageMagick ships with the montage
utility. Montage will append each image side-by-side allowing you to adjust spacing between each image (-geometry
), and the general layout (-tile
).
montage [0-5].png -tile 5x1 -geometry +0+0 out.png
这篇关于并排合并图像(水平)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文