How to display multiple images in Unix command line? How to display multiple images in Unix command line? unix unix

How to display multiple images in Unix command line?


You could append them all together side-by-side into a combined image with ImageMagick which is in most Linux distros:

convert *.png -append BigBoy.jpg

enter image description here

Then use feh or whatever viewer you like to view BigBoy.jpg. Change -append to +append to join them top-to-bottom instead of side-to-side.

Or if you wanted them in a grid 4 images across, use montage like this:

montage -tile 4x -geometry +0+0 *.png montage.jpg

enter image description here

Or use the flicker_compare script from the ImageMagick website here like this:

flicker_cmp -o a.gif *.png

enter image description here