How to resize a photo to an exact KB size
Reduce a photo to 20 KB or any exact limit: crop first, resize to pixel dimensions, then compress iteratively.
What you'll need
- Phone with rear camera
- Plain wall or white sheet
- Even front light
Step 1: Prepare the background
Use a plain light wall. Stand one arm's length away to reduce shadows.
Step 2: Frame the shot
Rear camera at eye level. Leave headroom — see Photo size too large — how to get it under 20 KB or 50 KB for face-height rules.
Step 3: Light from the front
Face the window or lamp. Avoid overhead-only light.
Step 4: Export to spec
Crop, resize, then compress — see Indian passport photo size — 35×45 mm (2026 rules). Wrong order causes blur.
Common mistakes at each step
- HEIC from iPhone — convert to JPG
- Compress before crop — loses quality
- Ignoring minimum KB — over-compression fails too
Do it automatically
This applies across documents and exams — pick yours and we will set the exact size automatically.
Choose your document or examFAQ
Can I use the front camera? Rear camera is sharper; front works if the lens is clean.
Where is the full spec? See Photo went blurry after resizing: the cause is the order of operations and the official notification.
When applicants retry without changing the underlying issue, the same rejection appears again — at the counter, in the upload validator, or during background verification. The fastest fix is to match your symptom to the spec before you retake or re-export. Indian passport and exam portals enforce pixel dimensions, background colour, face proportion, and file size together; fixing only one field often leaves the others failing.
If you are preparing for Passport Seva, start from the India passport photo spec and use the embedded tool to preview the compliance checklist before you submit. For exam forms, pick the preset that matches your notification year — specs change when a new advertisement is published, and older forum advice is frequently wrong.
Common mistakes we see in support tickets: exporting PNG when the portal accepts JPG only; shrinking file size so aggressively that the face becomes soft and fails manual review; using a square crop when the notification requires a portrait ratio; and relying on a studio print from before the 2026 ICAO migration. Each of these is fixable in one pass if you process on a desktop browser with a clear source photo.
Before you travel to the PSK or pay the application fee again, zoom to 100% on your export and check the background at the hairline and shoulders, confirm the chin-to-crown height fills the frame, and verify the KB readout sits inside the published window. Those four checks catch the majority of first-time rejections.
See also
- Photo went blurry after resizing: the cause is the order of operations
Blurry after resize? You likely compressed before cropping. Crop, then resize to exact pixels, then compress to KB — in that order.
- Your photo is too small in KB — the minimum nobody reads
Over-compressed photos below the portal minimum KB fail just like oversized files. Here is why and how to fix it.
Related guides
More PhotoFix articles on the same problem or document type.
- How-toHow to get a pure white background without PhotoshopWhite background for passport or exam photo without Photoshop — shoot it right, use a browser tool, or fix halo edges.
- How-toHow to convert HEIC to JPG on iPhone and AndroidConvert HEIC to JPG for form upload — plus the settings change that stops your phone saving HEIC again.
- How-toHow to check your photo meets the spec before you uploadCheck photo size, dimensions, and format on Windows, Mac, Android, and iPhone before you hit upload.