How to Reduce Image Size Without Losing Quality
Published November 7, 20265 min read
A photo from a modern phone can be several megabytes. That is too big for many upload forms, slow to send over a weak connection, and heavy for a web page. The obvious fix is to make the file smaller, but doing it carelessly gives a blurry, blocky picture.
This guide shows which steps make a file smaller and which ones cost you quality, so you can shrink a picture and still be happy with how it looks.
An honest answer first
You can only shrink an image with no loss at all by using lossless methods, and these save relatively little for photos. Most of the real savings come from lossy methods, which throw some data away.
The practical goal is therefore no visible loss. With the right steps you can often remove most of the file size and see no difference at the size the picture is normally viewed.
Why image files are big
Two things decide the size of a photo file: how many pixels it has and how much detail each part of the picture contains. A photo of 4000 × 3000 pixels has twelve million of them, and most screens show far fewer.
This is why the first step is nearly always to reduce the number of pixels, not to squeeze the quality.
Step 1: reduce the pixel size
Resizing a picture to the size it will actually be shown at is the safest big saving. A picture that will appear on a web page 1200 pixels wide does not need to be 4000 pixels wide. Halving both width and height cuts the number of pixels to a quarter.
- For a website or blog, a width of about 1200 to 2000 pixels is enough for most pictures.
- For messaging and social media, 1080 pixels wide is usually plenty.
- For a form, use the pixel size that the instructions ask for.
- Never make a picture larger than its original size. That adds file size and no detail.
Step 2: crop away what you do not need
Every part of the picture costs bytes. Cutting off empty sky, a wide border or a cluttered background removes that data completely, with no loss to the part that matters. It also makes the subject appear larger.
Step 3: choose the right format
- Photos: JPG works almost everywhere. WebP is often smaller at a similar look when the destination accepts it.
- Screenshots, logos and graphics with sharp edges or text: PNG keeps edges clean, but the files can be large for photos. A high quality WebP can also work.
- Pictures that need a transparent background: PNG or WebP, since JPG cannot store transparency.
Step 4: set the quality sensibly
JPG and WebP have a quality setting. Going from the very top to somewhere around 80 or 85 usually cuts the file size a lot with a difference that is hard to see. Below about 60, softness and blocky patches start to show on many pictures.
If a form gives a limit such as 100 KB, you do not need to guess. A tool with a target size option can search for the highest quality that stays under the limit for you.
Step 5: compress once, from the original
- Keep your original photo safe and never overwrite it.
- Do all your edits, such as cropping and resizing, before the final save.
- Save the compressed copy only once. Opening a JPG and saving it again repeatedly removes a little more detail each time.
- Name the copy clearly so that you do not mix it up with the original.
Check the result before you use it
Open the new file at full size, look at faces, text and fine edges, and compare it with the original if you are unsure. Check the file size on your device, too, because an upload form will see that number.
Smooth areas such as a sky or a wall show compression first, as banding or blocky patches. If you see them, raise the quality a little or reduce the pixel size a bit more instead.
Doing it on this site
On GetTaskCraft you can crop with the Crop Image tool, set an exact size with Resize Image, and reach a limit such as 100 KB or 500 KB with Compress Image. All of it runs in your browser, so your pictures are not uploaded to a server.
Try these tools and run the test yourself
Frequently Asked Questions
Only with lossless methods, such as certain PNG optimisation, and the saving for photos is limited. Most size reduction uses lossy compression. With sensible settings, the loss can stay small enough that you cannot see it at normal size.