Difference between revisions of "How to merge images at the command line with ImageMagick"

From steamWiki
Jump to: navigation, search
(Created page with "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]....")
 
Line 4: Line 4:
  
  
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>
+
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

Revision as of 14:41, 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


To merge a set of images into a vertical line, use the -append flag with convert. Here is an example:
convert b*.png -append bcolumn.png


Source: https://stackoverflow.com/a/21325493/11034541