Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to know how to re-size images in Ubuntu. What is the easiest tool to do so?

share|improve this question

11 Answers 11

up vote 67 down vote accepted

You want simple?

Install nautilus-image-converter Install nautilus-image-converter

It adds two context menu items in nautlius so you can right click and choose "Resize Image". (The other is "Rotate Image").

You can do a whole directory of images in one go if you like and you don't even have to open up an application to do so.

Very simple to use, very simple to configure.

share|improve this answer
+1 - this really is the simplest way to do it. I love it :) –  Hamish Downer Aug 5 '10 at 15:47
Does it work with multiple selections (ie i select 10 files - right click - select Rotate - and the 10 images are rotated) ? –  teo96 Nov 18 '10 at 16:06
@v2r: No worries. –  Richard Holloway Feb 22 '12 at 9:19
It works on Ubuntu 14.04. Thanks. –  Saeed Zarinfam Aug 22 '14 at 8:41

First install imagemagick

sudo apt-get install imagemagick

Open a terminal and run this command:

convert  -resize 50% source.png dest.jpg

It will reduce the size by 50%

You can also specify the size:

convert  -resize 1024X768  source.png dest.jpg
share|improve this answer
first of all, to use convert -> sudo apt-get install imagemagick –  javaloper Sep 28 '12 at 12:02
sudo apt-get install imagemagick

The command mogrify overwrites the original files with the resized images:

mogrify -resize 50% *png      # keep image aspect ratio
mogrify -resize 320x240 *png  # keep image aspect ratio
mogrify -resize 320x240! *png # don't keep image aspect ratio
mogrify -resize x240 *png     # don't keep image aspect ratio
mogrify -resize 320x *png     # don't keep image aspect ratio
share|improve this answer
Don't keep aspect ration with convert: convert hospital.jpg -resize 2000x! hospital_2000.jpg –  Adobe Oct 5 '13 at 22:15

If you're just doing a couple of images, most image editors in Ubuntu (Gimp, F-Spot, etc) will let you do a basic resize.

If you want to edit tens, hundreds or thousands of images, I prefer Phatch. Phatch is a GUI-based batch photo editor that will let you perform a whole load of transformations on images. sudo apt-get install phatch

ImageMagick is good but it's a bit tedious if you don't know the setting names for things. You can very quickly learn Phatch by clicking around.

share|improve this answer
F-Spot does resize? Where? –  Martin Jul 23 '13 at 11:17

GIMP is probably the easiest way, since it has a fairly simple UI for such common tasks. All you have to do is open up your image and go to Image → Image Size and then change accordingly. There are ways to do batch resizing using the GIMP as well, but I don't know them by heart.

share|improve this answer

ImageMagick is the package you want. It contains a number of useful command line tools for this very purpose.

Here's a simple tutorial explaining how to batch resize images:-


share|improve this answer

At the moment nautilus-image-converter does not work in Ubuntu 13.10. Therefore I use imagemagick on the command line, which is very good workaround (at least for me).

sudo apt-get install imagemagick

Keep in mind the difference between these imagemagick tools:

  • Mogrify does processing on the same image, it reads file modify file and writes the output to the same file.
  • Convert is meant to work on separate images, reads file and modify and write to different file/format. You can also use convert command to use output file same as input file.

I often use mogrify to simply resize multiple images and overwrite the original files. I. e. this command would scale down the dimension of all JPG files to 40% of the original dimension:

mogrify -verbose -resize '40%' *.JPG
share|improve this answer

Install gthumb. Simple and easy for basic image handling and editing functions - viewer, resizing, cropping, rotate, flip, grayscale, etc with options to save in JPEG, PNG, TIFF, TGA formats.
sudo apt-get install gthumb

share|improve this answer
On Linux Mint, it was optimal solution for me. –  Fedir Dec 18 '13 at 12:29
I am used to rotate my photos with gthumb. –  Arpad Horvath Dec 28 '14 at 19:44

For GUI, Phatch "one click is worth thousand photos" is the best for such quick job. It is already in Ubuntu repository. It has plenty of actions and options as imagemagick.

sudo apt-get install phatch
share|improve this answer

open the image in ImageMagick.

  1. click on the image command box will be open.
  2. view->resize enter the pixel you want. click on resize button.
  3. File-> save, enter the name. click on Format button choose the format you want and click select button.
  4. click on save button.

another option is select view -> original image and Drag the corners of the image to resize it. select File -> save.

share|improve this answer

No need to install any new software just do this

convert -resize 50% myfigure.png myfigure.jpg


convert myfigure.png -resize 200x100 myfigure.jpg
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.