ID Photo Upload Guide: Sizes, Formats and Fixes for Rejected Photos
Your passport or ID photo upload keeps getting rejected? Learn what online portals actually check — format, pixels, KB, background — and how to fix each error for free in your browser.
Online applications for passports, ID cards, visas, driving licences, exams and student cards all end at the same place: an upload box that says “Upload your photograph” — followed by a list of rules nobody reads until the portal rejects the file. “Invalid file type.” “Image dimensions are incorrect.” “File size exceeds limit.” “Photo does not meet requirements.”
The rules look different on every site, but the checks behind them are almost always the same five. Once you know them, you can fix any rejected ID photo in a couple of minutes — for free and without sending your face to a random website.
The five things every photo portal checks
1. File format
Most government portals accept JPG/JPEG only. Some also allow PNG; very few accept WebP, HEIC or GIF. A photo from an iPhone is often HEIC, and an image saved from a web page or a chat app is often WebP or PNG — even if the file name ends in “.jpg”.
Fix: convert it with Convert image to JPG. If you start from an iPhone HEIC photo, first export it as JPG (Settings → Camera → Formats → Most Compatible, or share the photo by email to yourself), because browsers can’t reliably read HEIC.
2. Pixel dimensions
This is the most misunderstood rule. Portals measure width × height in pixels. Typical requests:
| Format | Physical size | Pixels usually requested |
|---|---|---|
| US passport / visa | 2 × 2 in | 600×600 to 1200×1200 px |
| EU / UK / most of the world | 35 × 45 mm | ~413×531 px (300 DPI) or larger |
| Exam & job portals | varies | often 200×230 or 350×450 px |
If the form gives a physical size and a DPI, multiply: centimetres ÷ 2.54 × DPI. 3.5 cm at 300 DPI = 413 px; 4.5 cm = 531 px.
Fix: open Resize image and type the exact width and height. If the proportions of your photo don’t match the requested shape, crop first (head and shoulders, face centred) so the resize doesn’t squash your face.
3. Aspect ratio
Even when no exact pixels are given, the shape is checked. A 35×45 mm photo has a ratio of 7:9 (portrait). A 2×2 in photo is square. A landscape phone photo will fail both. Some validators also reject images where the face is too small in the frame — the head (chin to top of hair) usually needs to fill roughly 50–70% of the height.
Fix: crop tighter around the head and shoulders, keeping a little space above the hair, then resize to the target dimensions.
4. File size (maximum and minimum)
Limits like “max 240 KB”, “between 10 KB and 50 KB” or “under 20 KB” are common. The minimum catches people out: over-compressing a photo to 6 KB can be rejected just as surely as a 4 MB original.
Fix: after resizing, use Compress image and set a target just under the maximum (for a 50 KB limit, aim for 40–45 KB). Because the image is already small in pixels, it will stay sharp. If your limit is very tight, our guide on compressing a photo to 20 KB walks through it step by step.
5. Content rules (checked by software or a human)
Background, lighting and pose are checked either automatically or by an officer later — and a photo that passes the upload can still get your application returned weeks later. The usual rules:
- Plain, light background (white, off-white or light grey), no shadows behind you.
- Neutral expression, mouth closed, eyes open and looking at the camera.
- No glasses (or no glare and no tinted lenses where glasses are allowed).
- No hats or head coverings, except for religious or medical reasons.
- Even lighting, no shadows across the face, true skin colours (no filters, no beauty mode).
- Recent photo — typically taken in the last 6 months.
No tool can fix a bad pose, so get this right when you take the picture.
A reliable workflow from phone photo to accepted upload
- Take the photo properly. Stand in front of a plain light wall, face a window for soft light, and have someone else take the photo from about 1–1.5 m at eye level. Selfies at arm’s length distort the nose and face proportions.
- Transfer it as JPG. Avoid sending it through apps that recompress heavily; email to yourself or use a cable/cloud backup.
- Crop to head and shoulders in the right shape (square or 7:9 portrait).
- Resize to the exact pixels with Resize image.
- Convert to JPG with Convert image if it isn’t already.
- Compress to the KB range with Compress image.
- Check before uploading: on a computer, right-click → Properties (Windows) or Get Info (Mac) to confirm format, dimensions and size.
If the portal asks for a printable sheet instead of a digital upload, the Passport photo maker creates the correct size and arranges several copies on one page for printing.
Common error messages and what they really mean
- “Invalid file type” / “Only JPG allowed” — the file is PNG, WebP or HEIC, or a renamed file. Convert it properly instead of renaming the extension.
- “Image dimensions are incorrect” — wrong width × height in pixels, or the wrong orientation. Resize to the exact numbers.
- “File too large” — compress to just under the limit after resizing.
- “File too small” / “Minimum size 10 KB” — you over-compressed or made the image too small. Go back to a higher quality or slightly larger dimensions.
- “Face not detected” / “Photo does not meet requirements” — usually poor lighting, a busy background, glasses glare, a tilted head, or a face that’s too small in the frame. Retake or crop tighter.
- Upload spins forever — sometimes a browser issue rather than the photo: try another browser, disable extensions, or check that the file name has no special characters (use something like
photo.jpg).
Why privacy matters for ID photos
An ID photo is biometric data: it’s what face-recognition systems use to identify you. Many “free passport photo” websites upload your image to their servers, keep it for an unknown time and sometimes use it for other purposes. PDFAgent’s image tools work 100% in your browser: the photo is processed on your device, never uploaded, and disappears when you close the tab. No account, no watermark, no cost.
Quick checklist before you hit “Upload”
- JPG format (really JPG, not renamed)
- Exact pixel dimensions, correct orientation
- File size inside the min–max range
- Plain light background, even light, neutral expression
- Face centred and large enough in the frame
- Photo taken recently, no filters
Get these six right and the upload box stops being the hardest part of the application.