niedziela, 8 czerwca 2008

make a picture index from your photo gallery

You have a lot of photos, and you would like to make a photo index, but you don't have any professional photo program. But you have console and imagemagick... It couldn't be easier ;)

So I have 6 photos (all 1024x768):

and i want to make one jpg with all of them in mini size, just execute in dir that contains this jpgs:

montage -trim -tile 3x2 -background black -geometry 400x320+0+0 *.jpg out_%d.jpg

and here is the effect:

tile - how much rows and colums you need

geometry - one miniature size

%d - mean that if you have more than 40 miniatures than it will make next file starting from 0 to... infinity ;)

0 komentarze: