How-to1 min readUpdated 2026-07-22

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 exam

FAQ

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.

See also

More PhotoFix articles on the same problem or document type.