Resize or compress an image: which one do you need?
Upload errors mention size, but size can mean pixels or kilobytes. Knowing which one a form is asking about saves a lot of trial and error.
Two different meanings of size
When a form says an image is too large, it can mean either of two things, and the fix is different.
- Dimensions: the width and height in pixels, such as 600 × 750. This is what resizing changes.
- File size: how much storage the file takes, in KB or MB. This is what compressing changes.
The two are linked, which is why people confuse them. An image with fewer pixels usually has a smaller file, but a small image can still be heavy if it is saved at very high quality, and a large image can be light if it is simple and heavily compressed.
When to resize
Resize when a form, template or website states required dimensions, or when the picture is far larger than it will ever be shown.
- A form asks for exactly 200 × 230 pixels.
- A website needs a banner of a stated width and height.
- A 4000-pixel camera photo is being used as a small profile picture.
The Image Resizer works in pixels, percent or centimetres. Centimetres only describe a print size once a DPI is chosen: pixels equal centimetres divided by 2.54, times the DPI. At 300 DPI, 10 cm is about 1181 pixels. Lock the aspect ratio so the picture is not stretched, and remember that enlarging a small image cannot add detail, so it only looks softer.
When to compress
Compress when the limit is in KB or MB and the dimensions do not matter, or you want to send a photo by email or upload it somewhere slow.
- A portal says the file must be under 100 KB.
- An email attachment is too big.
- A page loads slowly because its images are heavy.
The Image Compressor lowers quality and, when needed, dimensions until the file fits, and reports the real size it reached. JPG and WebP are lossy and respond well. PNG is lossless, so for a photograph it is usually larger than the same picture as a JPG.
When you need both, and in what order
Many forms state both a pixel size and a KB range. Apply them in this order:
- Crop first to the part you want, with Crop, Rotate and Flip, so no bytes go to background you will discard.
- Resize to the required pixel dimensions.
- Compress to the file-size limit, checking that the dimensions did not change.
Doing it in the other order, compressing first and resizing afterwards, wastes quality, because the picture is degraded and then rescaled. Resizing the same file repeatedly has the same problem, so go back to the original each time.
Quick decision table
| The form says | You need |
|---|---|
| Image must be 600 × 750 pixels | Resize |
| Image must be under 200 KB | Compress |
| Image must be 3.5 × 4.5 cm | Resize in cm at a stated DPI, then check the file size |
| Image must be 20 to 50 KB | Compress, and make sure it is not too small |
| Email attachment too large | Compress, or resize if the picture is huge |
Both tools run in your browser, so photos of people and documents are not uploaded. Use the largest original you have and avoid working on a copy that has already been compressed by a messaging app.
A worked example: a camera photo for an online form
Imagine a form that wants a portrait photo of 300 × 400 pixels and a file between 20 KB and 100 KB. Your phone photo is 4000 × 3000 pixels and about 4 MB.
- Crop. The form needs a portrait shape with a 3:4 ratio, and your photo is landscape. Crop around the face and shoulders so the crop is 3:4. If you resize without cropping, the aspect ratio will be wrong and the face will be stretched.
- Resize. With the aspect ratio locked, set the size to 300 × 400 pixels. At this point the file is already much smaller than 4 MB.
- Check the file size. If it is already inside 20 to 100 KB, you are done. If it is above 100 KB, lower the quality with the Image Compressor and check that the pixel size is still 300 × 400.
- Check the minimum. If the file is below 20 KB, raise the quality or start again from the original, because a file can be too small as well as too large.
Every step used the original as its source, which keeps quality as high as it can be. The numbers in this example are illustrative, so use the ones in your own form.
Frequently asked questions
Does resizing reduce file size?
Usually, if you make the picture smaller, but not always. A PNG can be bigger than the original JPG, and a high quality setting can keep a file large. Check the real size after resizing.
Does compressing change the dimensions?
A good compressor tries lowering quality first and reduces dimensions only when needed. Check the pixel size afterwards if a form states one.
Why is my file too small for the form?
Some forms set a minimum as well as a maximum. Use a larger original or a higher quality setting instead of the strongest compression.
Which format should I use?
JPG or WebP for photographs, and PNG for screenshots, logos and graphics with sharp edges.
More guides
- How to compress an image to an exact size in KB
- Photo and signature size for online application forms: a checklist
- JPG, PNG, WebP, AVIF or HEIC: which image format should you use?
- KB, MB, pixels and DPI: image size explained simply
- All guides
Paul Digital guides are written from hands-on testing of the tools on this site and are reviewed when platforms or formats change. Requirements set by exam boards, governments and apps vary and change over time, so always check the official instructions for your case. Spotted an error? Email askpaulonline@gmail.com.