ZYSNOR, smart solutions, real impact
Image Resizer

Images guide

How to resize an image

By , Founder of ZYSNOR · Updated · Checked · 9 min read

In short

To resize an image, enter the width or height in pixels and choose how to fit: Keep proportions (the other side is worked out, nothing is cut), Crop to fill (exact size, edges trimmed from the centre) or Stretch (exact size, picture squeezed). Fill in one box only to keep the shape. For photos save as JPG or WebP; use PNG for logos and transparency.

Jump to a section

A form wants a 600 × 600 photo, a website wants images 1200 pixels wide, a profile picture must be square. This guide shows how to get exact pixel sizes without squashing faces, how to work out the other side, and how format and quality change the file size.

Pixels, not centimetres

A digital image is a grid of pixels. Resizing changes how many pixels there are. Making an image smaller throws pixels away and stays sharp; making it bigger invents new pixels and looks soft. So resize down whenever you can, and start from the largest original you have.

The three fit modes

Keep proportions fits the whole picture inside the size you give; one side can come out smaller than the box. Crop to fill gives exactly the size you asked for by trimming the edges around the centre. Stretch to exact size forces both sides and can make round faces oval. We measured a 3000 × 2000 photo in a 500 × 500 box: 500 × 333, 500 × 500 cropped, and 500 × 500 squeezed.

Three panels comparing keep proportions, crop to fill and stretch on a wide photo resized into a square
Keep proportions, crop to fill and stretch, on a 3000 × 2000 photo and a 500 × 500 box.

Working out the other side

Fill in one box only and Keep proportions works out the other. To check it yourself: new height = new width × old height ÷ old width. 3000 × 2000 to width 1200 gives 1200 × 2000 ÷ 3000 = 800, which is what the tool produced.

Three worked rows calculating the missing side from the width or height
The missing side keeps the same shape.

Format and quality

JPEG is lossy: it makes files smaller but can lower quality; PNG is lossless and larger, and only PNG of the two keeps transparency. Google reports WebP lossy images as 25-34% smaller than comparable JPEGs. Our 1200 × 800 photo was 205 KB as JPG at the default quality 92, 97 KB at 70, 73 KB at 50, 139 KB as WebP, and 2,043 KB as PNG. For photos choose JPG or WebP; for logos, screenshots and transparent images choose PNG.

Bars comparing file sizes of one photo saved as JPG at three qualities, WebP and PNG
File size of the same 1200 × 800 photo by format and quality, measured.

Worked example 1: a square profile photo

Enter 500 and 500, choose Crop to fill. The tool trims the sides of a landscape photo from the centre. If the face is not in the centre, crop it first in your photo app so it is.

Worked example 2: images for a website

A blog wants images 1200 pixels wide. Enter 1200 in Width only, Keep proportions, WebP or JPG at 80 to 92. A 3000 × 2000 photo becomes 1200 × 800 and drops from 1.5 MB to about 140 to 200 KB.

Worked example 3: an exact size for a form

A visa form asks for 600 × 600 pixels. Crop to fill gives exactly 600 × 600. If the form also has a KB limit, finish with the photo size guide.

Worked example 4: half size for a batch

Choose Scale by percent and 50. Every image keeps its shape: our 3000 × 2000 photo became 1500 × 1000. All images in the batch get the same percentage and come back as one ZIP.

Worked example 5: a logo with a transparent background

Keep the format as PNG (or WebP). If you choose JPG, transparent areas become white: our logo saved as JPG had a white corner, the PNG stayed see-through.

What the ZYSNOR Image Resizer does

  • Input: JPG, PNG or WebP, up to 20 images per run.
  • Size: width and height in pixels, or 1 to 400 percent; output up to 6,000 pixels per side and 24 megapixels.
  • Fit: Keep proportions, Crop to fill (centred) or Stretch.
  • Output: keep the format, or JPG, PNG or WebP; quality 40 to 100 for JPG and WebP (default 92).
  • Processed in your browser; your images are not uploaded.

Mistakes that waste time

  • Stretching faces. Use Crop to fill for exact sizes.
  • Enlarging a small image. It will look soft. Find a larger original.
  • Saving photos as PNG. Ten times the size for no visible gain.
  • Resizing a resized copy. Each JPG save loses a little; always start from the original.

Words you may meet

  • Aspect ratio: width divided by height, such as 3:2 or 16:9.
  • Lossy / lossless: compression that throws some detail away / keeps every pixel.
  • Megapixel: one million pixels; 3000 × 2000 is 6 megapixels.

Practice problems

Problem 1. A 4000 × 3000 photo resized to width 1600 with Keep proportions. Height?

Show the worked answer

1600 × 3000 ÷ 4000 = 1200.

Problem 2. The same photo into an 800 × 800 box with Keep proportions?

Show the worked answer

Scale = smaller of 800 ÷ 4000 = 0.2 and 800 ÷ 3000 = 0.267, so 0.2: 800 × 600.

Problem 3. And with Crop to fill?

Show the worked answer

Scale = larger, 0.267: drawn at about 1067 × 800, then about 133 pixels are cut from each side: 800 × 800.

Ready to resize your own image? The free Image Resizer works in your browser, and the button in the page header takes you straight to it.

Common questions

How do I resize an image without stretching it?

Choose Keep proportions and fill in only the width or the height. For an exact size such as a square, choose Crop to fill instead of Stretch.

How do I make an image exactly 600 × 600 pixels?

Enter 600 and 600 and choose Crop to fill. The edges are trimmed around the centre so the picture is not squeezed.

Why is my resized image smaller than the size I typed?

With Keep proportions and both boxes filled, the whole picture fits inside the box, so one side can be smaller. Use Crop to fill for an exact size.

Which format should I save in?

JPG or WebP for photos, PNG for logos, screenshots and transparent images.

Does resizing reduce quality?

Making an image smaller stays sharp. Making it bigger looks soft, and each JPG save loses a little detail.

Can I resize several images at once?

Yes, up to 20 with the same settings. They come back as a ZIP.

What is the largest size I can make?

6,000 pixels per side and 24 megapixels.

Are my images uploaded?

Not with ZYSNOR. They are resized on your device.

Was this guide helpful?

Have a question about this guide?

We read every question and answer the useful ones here, for everyone. Please do not include your name, email or other personal details.

Sources and how we researched this

Sources (2)

How we researched this

All results were measured on the ZYSNOR Image Resizer in Chromium with a 3000 × 2000 test photo (1.5 MB JPG) and a transparent 800 × 600 PNG logo: width 1200 gave 1200 × 800; a 500 × 500 box gave 500 × 333 (Keep proportions) and 500 × 500 (Crop and Stretch); 50% gave 1500 × 1000; at 1200 × 800 the file was 205 KB as JPG quality 92, 97 KB at 70, 73 KB at 50, 139 KB as WebP and 2,043 KB as PNG; the logo saved as JPG got a white background and as PNG stayed transparent. Limits (6,000 pixels per side, 24 megapixels, quality slider 40 to 100, default 92) were read from the tool's code. File sizes depend on the photo, so treat ours as an example.

Format facts come from Adobe's JPEG vs PNG page and Google's WebP page, read from search excerpts. Spotted something that does not match your experience? Tell us through the feedback box on the Image Resizer page.

Related guides

Rules differ between schools and change over time. Always check your own school or university handbook.