Shrink image file size prior to upload in Ubuntu

Before I can upload any files to this blog, I want to cut the image file sizes down, or I’ll blow my free-allowance limit. How to do this ?

As I use Ubuntu, I found this forum post helpful. For posterity, this is done using the excellent ImageMagick.

Install the tools :

sudo apt-get install imagemagick

Then use it on your jpg files…

mogrify -resize 10% *.jpg

A few seconds later I found my files shrank from nearly 6MBytes to roughly 6KBytes. i.e: It makes them 10% of the size they are initially.

My next batch of images are ready to upload…

The tool can do loads more than that it seems, and deserves some more time invested to familiarize myself with at some time…

Enjoy.

Advertisements
This entry was posted in Computing and tagged , , . Bookmark the permalink.

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