Skip to main content

Combine images using ImageMagick

Published: 2019-09-09 | Lastmod: 2019-10-01

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