Wednesday, July 11, 2012

Joining images using ImageMagick's convert

convert +append list_of_figures out_1.png
convert +append list_of_figures out_2.png
convert +append list_of_figures out_3.png
convert -append out_1.png out_2.png out_3.png final_out.png

+append puts images side by side while -append adds them top down.
convert -border 2x2 in.png out.png
This puts a light border around images which comes in handy when creating a grid of images from a bunch of individual images which have no border.

No comments:

Post a Comment