Exact Size ID Photo Compressor

Crop to an exact size and shrink to a target file size — for photos and signatures alike.

Drop an image here, or click to choose one

JPG or PNG. Nothing is uploaded — it stays on your device.

About the Exact Size ID Photo Compressor

Many government forms, exam applications, visa portals and job sites ask for a photo or signature that meets an exact pixel dimension and an exact file size range — for example a 35 × 45 mm photo under 50 KB, or a signature between 5 KB and 20 KB. Hitting both the size and the file weight at once is fiddly to do by hand in a regular photo editor. This tool crops your photo or signature to the exact dimension you choose — in millimeters, centimeters, inches or pixels — and then automatically compresses it until it lands inside your target KB range.

How it works

  1. Choose whether you're preparing a photo or a signature.
  2. Upload a JPG or PNG image — it's processed entirely in your browser and never leaves your device.
  3. Pick a common preset (like 35×45 mm or a 2×2 inch square) or enter a custom width, height, unit and DPI.
  4. Drag and zoom to position the crop, using the face guide to line up eyes and chin for ID-style photos.
  5. Set your minimum and maximum file size in KB, then generate — the tool searches for the JPEG quality that fits your range and lets you download the result.

Common uses

  • Passport, visa and national ID photo uploads
  • Government exam and admit card photo/signature specifications
  • Job application and online form portraits
  • Resizing a scanned signature to a specific pixel or KB limit

Frequently asked questions

Is my photo uploaded anywhere?

No. The crop, resize and compression all happen locally in your browser using the Canvas API — your image is never sent to a server.

Why does it need a DPI value?

Physical sizes like millimeters or inches only translate to pixels once a resolution is set. DPI (dots per inch) is that conversion factor — most photo ID specifications call for 200–300 DPI.

What if I can't hit the exact KB range?

The tool tries JPEG quality levels between 5% and 95% to find one that fits your min/max KB window. If your dimensions are large and your max KB is very low, the closest achievable result under the limit is used instead.

Can I use this for both PNG and JPEG output?

Yes. PNG is lossless and best for signatures with sharp edges; JPEG compresses more and is usually required for photo file size limits.