Resizing images with Mogrify

You shot some photos but they have a big resolution and take time to upload online, here is a fast way to scale them from the terminal using Mogrify. Mogrify comes by default on Fedora.

As root type:
# mogrify -path /home/user/example -resize 1000x1000 /home/user/example

Advertisements
4 comments
  1. Ben Boeckel said:

    Why would you run mogrify as root?

    • I don’t know, I learned that way at first. At that time I had files that only could be views by users!

  2. Donald said:

    “convert” worked better for me

    cd /path/to/file
    convert inputfile -resize 301×200 outputfile

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