Skip to content


Tip of the Week : Resize images in Ubuntu

Looking around for an easy way to resize my images ready for uploading to facebook. Sure, you can use gimp batch processes, but that looks like an awful lot of work.

You could install Davids batch processor for Gimp.

OR, you could do it the truly easy way with a single command:

mogrify -resize 600 *.JPG

Now that is handy, simply copy a few of the images that you want to upload to a dir, cd to that directory and run mogrify. Cool name for command too I think, even though it doesn’t really mean anything to me.

One other thing, the above is resizing to 600 wide, mogrify will automatically maintain the aspect ratio of the image.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Fark
  • Reddit
  • StumbleUpon

Profile:  Frank has been programming for the web using PHP, Javascript and numerous libraries and frameworks for the past 5 years. More articles.

Posted in Tips of the Week. Tagged with image, Linux, tip.

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. meNo Gravatar said

    MOdIFY + GRaphic = mogrify
    thanks for info

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.