Back to Blog

SEO Content Guide

Why Your 20KB Photo Keeps Getting Rejected on Indian Government Forms

Under 20KB but still rejected? Wrong format, pixel dimensions, and JPG vs PNG mistakes on SSC and government forms — from the builder of ImageFormatConverter.in.

Published 18 July 2026Mobile-friendly readingIndia-focused image workflow

I built an image compressor a little over a year ago. I did not expect the most common message I would get from users to be some version of "it says under 20KB but the form still rejects it." After close to 5,000 people running photos through the tool, I have seen the same handful of mistakes over and over — so this is less a how-to and more a list of things I wish someone had told me before I started debugging this myself.

If you need the compressor while you read, open the Image Compressor to 20KB. For a step-by-step India workflow, see the JPG Compress 20KB guide.

Why 20KB even exists as a limit

It looks like an oddly small number for 2026, when most of us carry phones that shoot 12MB photos without thinking twice. The honest answer is that a lot of Indian government and exam portals were built on infrastructure designed years ago, for users on much slower connections and for databases that were never meant to store large binary files at scale. A 20KB cap on a photo field keeps the total form payload small enough to submit reliably even on a weak network, and keeps years of accumulated applicant photos from becoming a storage problem on the backend.

It is not an arbitrary act of cruelty toward applicants. It is a leftover design decision that never got revisited, and now millions of people have to work around it every application season.

The actual reason your file gets rejected

Almost every "it is under 20KB but still rejected" message I get turns out to be one of three things, not a broken tool:

Wrong file format. A lot of portals specify JPG only, quietly, in the fine print. If you compress a PNG down to 20KB and upload it, some portals reject it outright regardless of size, because the extension does not match what their form validation expects.

Dimensions outside the allowed range. Size in KB and pixel dimensions are two separate requirements, and portals often check both. I have seen people get a photo down to 18KB perfectly, only to have it bounce because the portal wanted something like 200×230 pixels and the compressed image was still 800×1000.

The file technically passed but looks unusable. This one is less about rejection and more about a photo that clears the upload but looks bad enough that it causes trouble later — a face that is too blurred to match against an ID, or a signature where the pen strokes have merged into a blob.

What you checked What the portal may also check Typical fix
File size under 20KB JPG only, not PNG or WEBP Export as JPG, then compress
Looks fine on phone Width × height in pixels Crop to the size shown on the form
Upload succeeded Face or signature readable Recompress from original with tighter crop

What actually works, in practice

Start from a smaller original if you can. If your phone photo is 4000×3000 pixels, cropping it down to roughly passport-photo proportions before compressing gives the compression algorithm a lot less work to do, and the result usually looks noticeably better than compressing the full-size original straight to 20KB.

Use JPG unless the form explicitly says otherwise. PNG is the wrong tool for a photograph — it is built for flat colours and sharp edges, and forcing a face or a signature down to 20KB in PNG tends to produce visible blotching well before JPG would show the same drop in quality. If your file is PNG, convert with PNG to JPG first when the portal allows it.

Check the exact pixel dimensions the form asks for, separately from the KB limit. It is an easy detail to miss because the file-size instruction is usually the more prominent one on the form, and the dimension requirement is often buried a line below it.

When the same application has a photo field and a signature field, they often have different caps. Signatures frequently need 20KB. Profile photos on the same form may allow 50KB or 100KB — using 20KB on a photo field when a larger cap is allowed is a quality mistake, not a safety move.

A pattern I did not expect

The thing that surprised me most, running this tool for a year, is how often the same person comes back three or four times in one sitting — compress, get rejected, come back, try a different format, get rejected again. Application deadlines in India tend to cluster (a lot of SSC and state-level recruitment forms open and close within days of each other), so a lot of that repeat traffic is clearly happening under real time pressure, often close to a submission deadline.

If that is you right now: check the format first, then the pixel dimensions, before you re-compress anything. It saves the most time out of any single step.

A few questions people actually ask

Why does my photo look worse than my friend's after compressing to the same 20KB?

File size alone does not determine visual quality — a lot depends on how detailed the original photo was and what format it started as. A busy, high-detail original has to lose more visible information to reach 20KB than a simpler one does.

Can I just resize the photo instead of compressing it?

Resizing (reducing pixel dimensions) and compressing (reducing file size at the same dimensions) are different operations, and most forms check both separately. Doing only one of them is the most common reason a correctly sized photo still gets rejected.

Is there a format that avoids this problem entirely?

JPG is the most consistently accepted format across Indian government portals for photo uploads. WEBP compresses more efficiently, but a meaningful number of older portals do not accept it, so it is a gamble unless you have confirmed the portal supports it.

Does compressing multiple times in a row damage the photo?

Yes, gradually. Each round of JPG compression discards a small amount of detail. If the first attempt did not work, it is usually better to go back to the original file and recompress once with better settings, rather than repeatedly compressing an already-compressed file.

Before you submit on a deadline

Open the portal instruction page one more time and note three lines: max KB, required format, and width × height if listed. Compress from the original file once. Open the download at full zoom on the face or signature. Then upload.

If you are working against a deadline right now, the Image Compressor to 20KB handles the size side — double-check pixel dimensions separately before you hit submit.

— Rajat Gupta

Continue the workflow

Related tools and guides

View all guides