Tools for manipulating Images

Occasionally at work that we need to do some simple task that involves converting images or finding their sizes etc. The problems with tasks that are "Occasional" is that you can never remember the way you did it the last time.

What size if that jpeg, gif or png?
How can I resize that image?

You can't be bothered firing up gimp or some other tool so what can you do......

    @debian:$ identify truman.gif
    truman1.gif GIF 258x333 258x333+0+0 PseudoClass 32c 24kb 0.000u 0:01

That was easy, wasn't it. What if we needed much more info than this, well thats much harder we need to do the following:

    @debian:$ identify -verbose truman.gif

The hard part is the extra typing. I will leave it to the reader to try that one (there is too much output for here).


What about those times when you just wish one of your images was half the size. Well here comes another great tool to the rescue

    @debian:$ convert -sample 50%x50% truman.jpg truman_half.jpg

For those that are after a little bit more info on these handly little tools head on over to IBM developer works to get more information.

Even the article above only scratches the surface of what convert can do.

Add to delicious Digg This Add to My Yahoo! Add to Google Add to StumbleUpon
| | Comments (0) | TrackBacks (0)

0 TrackBacks

Listed below are links to blogs that reference this entry: Tools for manipulating Images.

TrackBack URL for this entry: http://www.hjackson.org/mt/mt-tb.cgi/122

Leave a comment

About this Entry

This page contains a single entry by Harry published on November 11, 2004 10:30 PM.

Spamassassin Plugin for Moveable Type was the previous entry in this blog.

Movable Type SpamAssassin Plugin is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01