DailyTools
Home / Guides / Images

How to resize an image without stretching it

Change the width and height by the same factor to preserve proportions. If a destination demands a different shape, decide what to crop or where to add padding.

Calculate the matching side

A 1,600 by 1,200 photo has a width-to-height ratio of 4 to 3. Set the new width to 640 pixels. Multiplying the old height by 640 divided by 1,600 gives 480 pixels. Check that the downloaded image is 640 by 480.

Fit a fixed box

A 640 by 360 banner is wider in proportion than the photo. At 640 pixels wide, the photo still needs 120 pixels removed from its height to fill the banner exactly. Use a crop editor to choose which part to remove, especially when a face or caption sits near an edge.

Inspect at the viewing size

View the exported image at the size readers will see it. Enlarging a 320-pixel original to 640 pixels creates new pixels by estimation. If fine print already looks fuzzy, find the original artwork. Keep that master file for future layouts.

Try the example

Open Image Resizer