Images tile collage
mouse 268 · person cloud · link
Last update
2017-06-17
2017
06-17
« — »
1
2
# 1920x1080 with 1px border on black background
montage [1-6].jpg -tile 3x2 -geometry 638x538+1+1 -background black out.jpg
1
2
3
4
5
# process each image in current folder:
Dir['*.jpg'].sort.each_slice(6).each_with_index do |names, i|
  print "#{i}\r"
  system %Q|montage #{names.join ' '} -tile 3x2 -geometry 638x538+1+1 -background black out/#{'%04d' % i}.jpg|
end; puts ''

Source: http://www.imagemagick.org/Usage/montage/