Difference between revisions of "How to merge images at the command line with ImageMagick"
From steamWiki
Line 1: | Line 1: | ||
This is a quick article on how to merge a set of images, under Linux, at the command line using the '''convert''' command of [https://imagemagick.org/index.php ImageMagick]. | This is a quick article on how to merge a set of images, under Linux, at the command line using the '''convert''' command of [https://imagemagick.org/index.php ImageMagick]. | ||
− | To merge a set of images into a horizontal line, use the ''' | + | To merge a set of images into a horizontal line, use the '''-append''' flag with '''convert'''. Here is an example:<pre>convert a*.png -append arow.png</pre> |
− | To merge a set of images into a vertical line, use the ''' | + | To merge a set of images into a vertical line, use the '''+append''' flag with '''convert'''. Here is an example:<pre>convert b*.png +append bcolumn.png</pre> |
Source: https://stackoverflow.com/a/21325493/11034541 | Source: https://stackoverflow.com/a/21325493/11034541 |
Latest revision as of 14:42, 20 July 2021
This is a quick article on how to merge a set of images, under Linux, at the command line using the convert command of ImageMagick.
To merge a set of images into a horizontal line, use the -append flag with convert. Here is an example:convert a*.png -append arow.png
convert b*.png +append bcolumn.png