Converting images in a shell - thumbnails making on linux

ImageMagick Studio software is a free software suite to create, edit, and compose images. It can read, convert and write images in a large variety of formats. Images can be cropped, various effects can be applied. Images can be rotated and combined. Text, lines, polygons and Bezier curves can be added to images. Images can be stretched and rotated. It can be use from shell prompt also. You can write shell and/or perl scripts too.

If you want to make thumbnails, for a list of files in a directory there are few ways. Here is one of them:

ls *.JPG | xargs -I {} convert -thumbnail 128x96 {} _{}

This reads all JPG files and pipes the output to xargs. xargs is another great utility that applies the input from ls to convert

convert is one of the great utility pieces that comes with Image Magick. This utility has the option thumbnail that resizes the given image and make a new thumbnail (in my example the thumbnail has the underscore in the filename (_filename).

Great if you want to make 1000 thumbnails on the fly :). I just love the shell and the power of shell commands :).