← Guides
GIMP · How-To

Resize and export web photos with GIMP

A 4,000-pixel photo may only appear 800 pixels wide on a page. Make a 1,600-pixel copy in GIMP 3 for this example and keep the original.

Resize the whole image

Choose Image → Scale Image. Keep the chain beside Width and Height linked, set the units to px and enter 1600 for Width. Check the calculated height and select Scale. Choose a different width if the site asks for one. Print resolution alone leaves the pixel dimensions unchanged.

GIMP’s Scale Image dialog with width, height and aspect ratio controls
GIMP 3 manual. The values shown are examples from the manual.

Export and inspect the JPEG

Choose File → Export As and name the copy photo-web.jpg. Start around quality 85, turn on Show preview in image window, and inspect fine detail and smooth gradients.

GIMP’s JPEG export dialog showing quality and preview settings
GIMP 3 manual. Check the preview and exported file before settling on a quality value.

In Finder, select the export and press ⌘I to check the size. If it is too large, reduce the dimensions or quality from your working image and export again. Check it at the size it will appear in the browser. Try PNG for small interface text or transparency, and save an XCF if you need the editable layers.