Exam & ID photos
How to Fix File Size and Format Errors on Online Forms
Fix 'file too large', 'invalid format' and dimension errors on forms: KB ranges, JPG conversion, pixels, and a pre-upload check.
Online forms reject files with short, unhelpful messages: file size exceeds limit, invalid file type, dimensions not accepted, file corrupted. Each error is easy to fix once you know which variable the portal is testing — and almost every failure comes from checking only one variable when the form enforces three at once (format, size, pixels).
This guide maps the common error strings to their real causes and gives you a verification routine you can run in under a minute before every upload. Exam-specific numbers are in photo and signature size for government exams 2026; composition failures are covered in why exam portals reject photos.
The three checks every portal runs
Before a file is accepted it must pass some subset of:
- Format — is the encoding what the form says? (Usually JPG/JPEG.)
- Size — is the byte count inside a KB/MB range?
- Dimensions — are the pixel width/height (or aspect) inside the allowed set?
A fourth check, content/composition, runs either by validator script or by a human later (face proportion, background, signature clarity). You can fix 1–3 in a file manager; 4 needs a retake or a careful crop.
Error → cause → fix
“File size exceeds maximum” / “must be less than X KB”
Cause: File larger than the ceiling. Camera originals (2–6 MB) hit this constantly. So does exporting at quality 100 on a large canvas.
Fix:
- Confirm the ceiling in the notice (20 KB signature, 50 KB photo, 100 KB declaration, 1 MB generic upload…).
- Resize first if pixels are far above what the form needs, then compress to the middle of the range.
- Target pages: 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB.
- Re-check the file after export — not the preview in your editor.
“File size below minimum” / “must be at least X KB”
Cause: File smaller than the floor. Common with tightly cropped signatures (6–8 KB against a 10 KB floor) and RRB’s unusual 30 KB floor.
Fix: Do not add visual noise. Raise export quality and dimensions slightly, or use the Exam Photo & Signature Resizer min–max mode, which pads internally without changing the visible image. Details: common signature mistakes.
“Invalid file type” / “file format not supported”
Cause: PNG, WebP, HEIC, PDF, or a renamed extension that does not match the encoding. CMYK JPGs from some scanners also fail.
Fix:
- Read the allowed list (almost always JPG/JPEG for Indian exam forms).
- Convert properly:
- iPhone HEIC → Files → share → save as JPG, or ImgSprint convert image
- PNG → JPG via convert image (watch transparency — flatten onto white first if the form wants a white background)
- PDF page → screenshot or export as JPG at the required pixels
- Verify with a real viewer (Preview, Photos) that the file opens and shows the expected picture — a fake extension often shows a blank or error.
“Invalid dimensions” / “must be W × H pixels”
Cause: KB was fine, pixels wrong. A 40 KB image can be any resolution.
Fix:
- Note the required/preferred pixels from the notice (IBPS 200 × 230 photo, 140 × 60 signature, 800 × 400 declaration; UPSC signature width 350–500; etc.).
- Resize, then compress. Compressing first and resizing after re-encodes and can push you out of the KB range.
- Check dimensions in the file manager (Windows Properties / Mac Get Info show pixel size) or in ImgSprint’s result list after resize image.
“File appears corrupted” / “cannot read file”
Cause: Truncated transfer, interrupted download of a previous upload, or a file that was only a partial save.
Fix: Re-export from the original; copy the file again (USB/Drive, not chat photo mode); try a different browser if the portal’s uploader is flaky.
“Image too small / low resolution” (content check)
Cause: Composition or DPI-style requirement — e.g. RRB signature under 140 × 60 px, or a face that occupies too little of the frame.
Fix: Crop tighter around the subject, keep within KB limits (tighter crops compress better), re-export. For face-proportion rules see NEET/UPSC/passport guides.
The 60-second pre-upload verification
Do this on every file, every time:
- Open the file in a normal image viewer — correct picture, not blank.
- Check extension and type:
.jpg/.jpeg(not.png.jpgtricks, not.heic). - Check size: file manager shows KB/MB inside the notice’s range — aim mid-range.
- Check pixels: width × height match the notice (or composition rules if none given).
- Check content: background, face/signature framing, no blur — zoom to 100%.
- Confirm the transfer path: the file you are about to attach is the one you just verified (same folder, same name), not a WhatsApp copy.
Name files so step 6 is trivial:
photo-200x230-35kb.jpg
signature-140x60-16kb.jpg
declaration-800x400-70kb.jpg
Workflow: from camera to accepted upload
original file
│
├─ crop (remove useless margins, fix framing)
├─ resize (to notice pixels, if any)
├─ compress (to middle of KB range, JPG)
├─ verify (viewer + size + pixels + content)
└─ stage in form-name folder → upload only from there
Never skip verify because “it looked fine in the editor” — editors show the master; portals see the exported file.
Common mistakes to avoid
- Fixing only the KB when the error was pixels (or vice versa).
- Renaming
photo.png→photo.jpginstead of converting encoding. - Compressing a WhatsApp-forwarded copy — start from the original every time.
- Aiming exactly at the limit (20.0 KB against a 20 KB cap). Leave 1–2 KB margin.
- Resizing after compression as a “quick fix” — double encode, soft result, KB drift.
- Uploading from a different folder than the one you verified (camera roll vs
form-uploads/). - Ignoring the notice and trusting a blog’s old numbers — exam rules change each cycle.
Related tools and guides
- Exam Photo & Signature Resizer — pixels + KB in one step
- Compress image · Resize image · Convert image
- Why exam portals reject photos
- How to reduce photo size in KB
- Common signature mistakes
Frequently asked questions
Why does the form say “invalid file type” when I uploaded a JPG?
The encoding may still be PNG/HEIC with a renamed extension, the file may be CMYK, or the portal may only accept .jpeg spelled a certain way (rare). Convert properly from the original and open the result in a viewer to confirm.
How do I make a file larger to meet a minimum KB?
Increase JPEG quality and/or pixel dimensions on export, or use the Exam Photo & Signature Resizer’s minimum mode, which adds internal padding without changing the visible image.
Should I compress or resize first?
Resize first (if dimensions are specified or hugely oversized), then compress to the KB range. The reverse order forces a second encode and often breaks the size target.
The KB is correct but upload still fails. Why?
The portal is probably testing pixels or content next. Verify width/height, composition, and that the file opens cleanly — then check whether the form wants JPG only.
How much margin should I leave under a size limit?
1–2 KB under ceilings and 1–2 KB over floors for KB-limited forms. For MB-level caps (email, portals with 1 MB limits), leave ~5% headroom.
Can I fix these errors on a phone?
Yes. Crop/resize/compress in a browser-based tool (ImgSprint runs on the phone), verify in Files/Photos, and upload from a dedicated folder. Avoid editing in chat apps.
Try it yourself
These free tools run entirely in your browser — your images never leave your device.
Keep reading
- How to Reduce Photo Size in KB (20 KB, 50 KB, 100 KB) Reduce photo size in KB to 20, 50 or 100 KB on your phone or PC, step by step. Learn why forms reject photos and how to keep the face sharp.
- Photo and Signature Size for Government Exams 2026 One table of photo and signature sizes for SSC, UPSC, IBPS, RRB NTPC, NEET, JEE Main and CUET: KB range, pixels, format and background, with official links.
- SSC Photo and Signature Size 2026 (CGL, CHSL, MTS, GD) SSC photo and signature size 2026 for CGL, CHSL, MTS and GD: how the live photo capture works, the 10–20 KB signature rule, and how to prepare it.
Have a topic you would like us to cover? Tell us about it.