Monday, July 13, 2009

Make thumbnails with Imagemagick

Make thumbnails and resize images in Linux with Imagemagick

First, install image magick
apt-get install imagemagick

Next, switch to directory with pictures collection
cd ~/pictures

Make thumbnails of your pictures with Imagemagick
mkdir thumbs
find . -maxdepth 1 -type f | xargs -I {} echo convert {} -resize 100x100 "thumbs/{}" \; | bash

Done

No comments: