how to reduce image size in kb
How to Reduce an Image to a Size in KB
There are two levers on image size and most people only pull one. Compression is the famous one. Resizing is the one that does the work.
01
Pixels are the bill you are paying
A photo from a modern phone is around 4,000 by 3,000 pixels — twelve million of them. A passport-photo box on an application form displays maybe 600 by 800. You are carrying roughly twenty-five times more picture than anything will ever show, and every one of those pixels costs bytes.
This is why compressing alone disappoints. Crush a 12-megapixel photo to JPEG quality 40 and you get a smaller file that also looks visibly mushy, because you kept every pixel and made each one worse. Resize it to 800 pixels wide first and quality 80 will look clean and land far smaller than the crushed version.
Rule of thumb: cutting the width in half cuts the pixel count to a quarter, and file size roughly follows.
- Form or ID photo
- 600–1000 px on the long edge. Quality 75–85. Usually lands at 40–120 KB.
- Signature
- 400–600 px wide is plenty. It is black on white, so it compresses to a few KB.
- Web page or email
- 1200–1600 px on the long edge covers every normal screen.
- Printing
- Keep the original. Print needs the pixels a screen does not.
02
Then quality, and 80 is the answer
JPEG quality is not a percentage of anything you can see. Going from 100 to 80 typically removes more than half the file and almost nothing you could point at on screen. Going from 80 to 60 saves much less and starts showing halos around hard edges — text, logos, the border of a scanned form.
So the useful range is 75 to 85, and outside it you are either wasting space or visibly damaging the image. If quality 80 at a sensible size still misses your target, the size is wrong, not the quality.
03
Signatures and photos for forms
These are the two that people fight with, and both have the same root cause: the file is a 12-megapixel camera photo of a small thing. A signature that must come in under 20 KB is a piece of paper photographed from a foot away, most of the frame being desk.
Crop to the ink. Resize to about 500 pixels wide. Save at quality 80. A signature done that way is typically 5–15 KB and looks sharper than the original did at any size, because the pixels are now spent on the signature rather than on the table it was sitting on.
For a photograph, the order is the same and the numbers are larger: crop to the required framing, resize to around 800 pixels on the long edge, then compress. If the form specifies exact pixel dimensions, set those; portals that check dimensions reject on them regardless of the file size.
04
Format matters less than people think — with two exceptions
For photographs, JPEG. It was designed for continuous-tone images and nothing else meaningfully beats it for compatibility.
The exceptions are worth knowing. A PNG holding a photograph is often five to ten times larger than the same image as JPEG, because PNG is lossless and photographs have no repetition for it to exploit — converting is a large free win. And anything with a transparent background must stay PNG or WebP; saving it as JPEG fills the transparency with solid black or white, which usually ruins a signature.