How to Resize an Image in GIMP
Scale Image changes the pixels, Print Size and Canvas Size don't, and Save won't give you a JPG. Here is which command does what.
To resize an image in GIMP, choose Image > Scale Image, type a new Width with the chain icon linked so the Height follows, pick an Interpolation method, and click Scale. Then use File > Export As to get a JPG or PNG, because Save only writes GIMP's own XCF file. Without GIMP installed, Resize Image sets an exact pixel width in your browser, and the image is never uploaded.
How to resize an image in GIMP
These steps follow the GIMP 3.0 manual's Scale Image page and its tutorial Change the Size of an Image for the screen:
- Choose Image > Scale Image. Right-clicking the image opens the same menu.
- Leave the unit on pixels. For anything shown on a screen, the tutorial says not to use any other unit.
- Type the new Width. With the chain icon next to Width and Height unbroken, the Height changes to keep the proportions.
- Under Quality, pick an Interpolation method (see below).
- Click Scale.
- Choose File > Export As (Ctrl+Shift+E), give the file a name and type, and click Export. A second dialog opens with that format's own options.
Clicking the chain breaks it so you can set each side separately, which the manual warns will distort the image. Switch the unit to percent to size the image relative to the original. The X and Y resolution fields are for printing only: the tutorial says resolution has no effect on how big the image appears on a monitor or phone.
Scale Image, Print Size or Canvas Size?
Three commands in the Image menu sound alike. Only Scale Image changes how many pixels the picture has.
| Command | What changes | What stays the same | Use it for |
|---|---|---|---|
| Image > Scale Image | The pixel count; the canvas follows | The proportions, while the chain is linked | Web, email, upload limits, a smaller file |
| Image > Print Size | Print width, height and resolution | Every pixel; it doesn't resample | Telling a printer how big to print it |
| Image > Canvas Size | The visible area: space added around the picture, or edges cropped off | The picture's pixels and scale | A border or extra room |
That comes from the manual's Print Size and Canvas Size pages. If a form asks for 300 dpi and the pixel count is already right, Print Size sets that number without touching a pixel; PPI vs DPI explains why the two terms get mixed up. When you enlarge the canvas, the new area is transparent by default (the Fill with option) and shows as a checkerboard until you flatten the image or add a filled layer behind it.
Which interpolation method to pick
The Interpolation menu decides how GIMP works out the colors of the new pixels. The manual's Transform Tools page describes the options:
| Method | What the manual says it does |
|---|---|
| None | Copies the closest pixel. Fastest, and often gives stair-step edges. Also called Nearest Neighbor. |
| Linear | Averages the four closest pixels. A good compromise between speed and quality. |
| Cubic | Averages the eight closest pixels. Usually good, slower, and sometimes worse than Linear. |
| LoHalo, NoHalo | High-quality interpolation. |
On LoHalo and NoHalo, the page gives two answers. Its own text says to use NoHalo when shrinking to less than half the original size. The note it quotes from Nicolas Robidoux, who wrote both methods, says LoHalo is generally better for reducing. If the result matters, scale two copies and compare. No method adds detail when enlarging: the Scale Image page says the bigger you go, the blurrier it gets. Resizing without losing quality covers how far a photo can stretch.
Why Save didn't give you a JPG
According to the manual's Export File page, GIMP's Save command writes only its own XCF format, which keeps every layer but which few other programs can open. Export As writes JPG, PNG and the other formats. If you opened a JPG, File > Overwrite replaces the original in the same format, so the full-size version is gone. Export under a new name if you might need the original again.
How to resize an image without GIMP
If GIMP isn't installed and you only need one width changed, Resize Image does it in a browser tab with nothing to install:
- Drop in one image or up to 50 at once.
- Type a width in pixels. With "Lock aspect ratio" ticked, the height follows it.
- Resize and download. Several files come back in one zip.
A JPG comes back as a JPG with the same file name, re-saved at quality 0.92, and a PNG stays a PNG. A WebP stays WebP where your browser can save that format; otherwise it comes back as a PNG named .png. BMP, GIF, SVG, HEIC and AVIF come back as PNG. Untick the lock and set both sides to force an exact width and height, which stretches the picture if the shape differs. There's no interpolation menu and no resolution field: it changes pixels only, like Scale Image. It doesn't open .xcf files, so export from GIMP first if your work is saved in one. To scale by a percentage, the way GIMP's percent unit does, Resize by Percentage takes anything from 1% to 500%.
Next steps
Coming from Photoshop? Resizing in Photoshop covers its Image Size dialog and the Resample checkbox. For a print, resizing an image for printing works out the pixels a print size needs. For a whole folder, see bulk resizing images.
FAQ
How do I resize in GIMP without stretching the image?
Keep the chain icon next to Width and Height unbroken and change only one value. The manual warns that breaking the chain distorts the image.
How do I resize just one layer?
Scale Image works on the whole image. The manual points to the Scale Layer command for a single layer.
Why is my scaled image blurry?
It was probably made bigger than the original. The manual says enlarging fills in pixels by interpolation without adding detail, and suggests the Sharpen (Unsharp Mask) filter afterwards. Starting from a larger original works better.
Why did GIMP warn me before scaling?
The manual lists two cases: layers that would shrink below one pixel, and a result larger than the "Maximum new image size" set under Preferences > System Resources, which defaults to 128 MiB.