Bulk Resizing images using bash
Say, you have hundreds of multimegapixel images in your big_pics directory, and you want to create thumbnails of all of them and store it in the small_pics dir. Just a single command.
metapixel-prepare -r big_pics small_pics –width=48 –height=48
Make sure that the metapixel package is installed for this command to run. You can install it using the command:
apt-get install metapixel
Metapixel is actually a tool for generating photomosaics. Details can be found here.
December 11, 2007. Tags: bash, debian, images, metapixel, photomosaics, resizing. howto. Leave a comment.