Combine Images Using ImageMagick

Published: Sep 9, 2019
Updated: May 3, 2021

I often combine screenshots for documentation purposes. ImageMagick is great for this. Given a dir of images:

# Make output dir
mkdir -p output

# Combine multiple images vertically
magick convert -append *.png output/combined-vertical.png

# Combine multiple images horizontally
magick convert +append *.png output/combined-horizontal.png