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.

About these ads

December 11, 2007. Tags: , , , , , . howto.

Leave a Comment

Be the first to comment!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback URI

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: