People often say "make the image smaller" without saying which kind of smaller they mean. There are two different things you can do, and they solve different problems. Understanding the difference saves time and avoids blurry results.
Resizing changes the pixels
Resizing changes the dimensions of an image, such as going from 4000 x 3000 pixels to 1200 x 900. The picture literally has fewer pixels, so there is less data to store and the file becomes smaller as a side effect. A 4000 x 3000 photo has 12 million pixels; at 1200 x 900 it has about 1.08 million, roughly 9% of the original.
Use resizing when the image is simply bigger than it needs to be: a phone photo going on a web page that displays it 800 pixels wide, or a picture that must meet a stated size such as "at least 1080 pixels wide".
Compressing changes how the pixels are stored
Compression keeps the dimensions the same but stores the data more efficiently. There are two families:
- Lossless compression (used by PNG) rearranges the data so it takes less space and can be restored exactly. Nothing is lost, but the savings are modest for photos.
- Lossy compression (used by JPG and, optionally, WebP) throws away detail the eye is least likely to notice. Savings can be large, but the loss is permanent.
Use compression when the pixel size is already right but the file is too heavy, for example a page that loads slowly or a form that rejects files over a size limit.
Side-by-side
| Resizing | Compressing | |
|---|---|---|
| Changes | Width and height in pixels | How the data is encoded |
| Dimensions after | Different | The same |
| Quality effect | Fewer pixels, less fine detail | Lossy: tiny artifacts at high compression |
| Reversible | No, you cannot add detail back | Lossless yes, lossy no |
| Best for | Oversized images, required dimensions | Right-sized images that are still too heavy |
The right order
- Crop away anything you do not need.
- Resize to the largest size you will actually display or need.
- Compress last, choosing the format that suits the picture (see our guide to PNG, JPG and WebP).
Doing it in this order means you compress the smallest possible amount of data once, instead of recompressing the same JPG several times. Every time a JPG is saved again, a little more detail is lost.
Enlarging is not the same as improving
Making an image bigger invents new pixels by averaging neighbouring ones. The picture gets larger but not sharper, because the detail that was never captured cannot be recovered. If you need a bigger image, start from the largest original you have.
Try it
The Image Resizer & Cropper changes dimensions, and the Image Compressor reduces file size and shows the before and after sizes so you can see the effect of each step.
