Ubuntu / Fedora – Quickly Resize Image




This is probably easiest way to resizing image on Linux Box. Why do you need to resize.
While taking pictures using camera, many people keep settings to max MP (Megapixel), so that same snap can be used to print bigger size. This images are higher in size & if you are willing to carry in your phone, it may eatup storage.
This is when tools like mogrify comes handy, you can also use convert / gimp for this very purpose.

Resize Image width to 640
mogrify -resize 640 *.jpg

Resize Image to 125×125
mogrify -resize 125x125 *.jpg

You can find many other options using man mogrify


if you find any missing point in here, please let us know in comment section or tweet us at @linuxreaders. To get more articles like this, subscribe to our RSS feeds / Mails.
Read 240 articles by
  • xxxx

    It’s not built in. `man mogrify` in Oneiric Ocelot does nothing.

    • http://www.linuxreaders.com/ Dhaval Thakar

      try apt-get install imagemagick -y or yum install ImageMagick -y

  • http://geektwks.com vlad

    Thanks man, i didn’t even know that command was built in. worked perfectly.

Trending Posts