Select Page

The great thing about Ubuntu is that there are all kinds of free programs for graphics you can install. I use Pinta for a lot of quick image editing, resizing, cropping, etc. However, what I haven’t come across is a decent utility for batch coverting or resizing digital images. Way back in the day on Windows I used to use a program called Thumbs Plus for this kind of thing.

It turns out that you already have a utility like this on Ubuntu (you just don’t know it yet). It’s called Mogrify. Mogrify is part of the ImageMagick package that should already be available within your Ubuntu install.

How to use Mogrify in Ubuntu:

Just navigate to the folder that has your images on the command line, and then run the command like this:
mogrify -resize 50% *.jpg

That example uses the resize option to scale them by 50% (all jpg files in that folder).

Let’s say you want to resize by a specific height and/or width (and leave the aspect ratio the same? Run a command like this:
mogrify -resize x800 *.jpg

This would result in images 800px wide by whatever the aspect ratio is. There are literally dozens of options you can use including rotate, crop, and more. Get the details on the ImageMagick page for mogrify here.