Why was my photo rejected on an online form?
When a photo is rejected on an online form, the portal has usually measured one of four things and found it outside its rule: the file size in KB, the width and height in pixels, the file type, or the shape of the picture. Exam, job and passport portals check these automatically, so the photo itself can look perfect and still fail. The most confusing failures sit right at the size limits, because a "KB" on your computer is not always the same KB the website counts. This guide shows how to read the limit so your file passes either way, and how to fix each kind of rejection without making the photo worse.
The four things an upload checker looks at
Upload checks are small automatic tests on the portal's side. They read the file's byte count, open it as an image to get its pixel size, and look at its type. Some also compare width to height. Your face, the lighting and the background are judged later by a person, if at all. That means the error message almost always points to one of these:
| What the form checks | Typical wording in the error | What fixes it |
|---|---|---|
| File size in KB | "File size should be between 20 KB and 50 KB" | Compress to a target, or raise the size if it is too small |
| Pixel dimensions | "Image must be 200 x 230 pixels" | Crop to the right shape first, then resize |
| File type | "Only JPG or JPEG files are allowed" | Convert the photo, renaming it is not enough |
| Shape or orientation | "Upload a passport size photo" | Crop to a portrait rectangle such as 35 x 45 mm |
Read the exact numbers in the form's instructions or the official notice before you edit anything. Limits differ between portals, and even between the photo and signature fields of the same form. The common pattern of a 20 to 50 KB photo and a 10 to 20 KB signature is only a pattern.
Why "50 KB" can mean two different sizes
A kilobyte has two definitions in everyday use. In the international system of units, kilo means 1,000, so 1 KB is 1,000 bytes. Computers also use a binary unit of 1,024 bytes, which the standards bodies call a kibibyte (KiB). NIST lists both prefixes, but most software still writes "KB" for either one.
Your devices do not agree on which one to show. Windows File Explorer divides by 1,024 and still labels the result KB; Raymond Chen explained on Microsoft's Old New Thing blog that Explorer follows long-standing practice there. Apple switched the other way: Apple's support page on storage says only iOS 10 and earlier and OS X Leopard and earlier used the binary system, so current Macs and iPhones count 1,000 bytes per KB. Android file managers vary.
The upload portal makes its own choice, and it rarely tells you which. A file of 50,500 bytes shows as 49.3 KB in Windows and passes a portal that counts 1,024 bytes per KB, but a portal that counts 1,000 sees 50.5 KB and rejects it. The same thing happens at the minimum: 20,200 bytes is 20.2 KB on a Mac and 19.7 KB to a binary checker.
The fix is to aim for the byte range that passes under both readings. Use 1,024 for the minimum and 1,000 for the maximum:
| Form says | Byte range that passes both ways | Shown on Windows | Shown on Mac or iPhone |
|---|---|---|---|
| 10 KB to 20 KB | 10,240 to 20,000 bytes | 10.0 to 19.5 KB | 10.2 to 20.0 KB |
| 20 KB to 50 KB | 20,480 to 50,000 bytes | 20.0 to 48.8 KB | 20.5 to 50.0 KB |
| 20 KB to 100 KB | 20,480 to 100,000 bytes | 20.0 to 97.7 KB | 20.5 to 100.0 KB |
| Under 1 MB | Below 1,000,000 bytes | Below 976.6 KB | Below 1.0 MB |
A simpler rule gives the same result: stay a few KB inside both ends. For a 20 to 50 KB photo, anything between about 25 and 45 KB passes whichever way the portal counts. The Compress Image to KB tool already works this way: the maximum you set is counted in 1,000-byte KB and the optional minimum in 1,024-byte KB, so its output lands inside both readings.
Check the size, not the "size on disk"
When you open a file's properties on Windows, or Get Info on a Mac, you see two figures. "Size" is the file. "Size on disk" (or "on disk" on a Mac) is the space the drive set aside for it, rounded up to whole storage blocks, so it is often a few KB bigger. Upload checkers only see the file, so read the exact byte count next to "Size". If you go by the bigger number you may compress a photo that was already fine.
Photo rejected for being too big
A phone photo is usually 2 to 5 MB, which is 40 to 100 times a 50 KB limit. Lowering the JPG quality alone rarely closes a gap that large without visible blocks, so the order of steps matters:
- Crop to the shape the form wants, so you are not spending bytes on the room behind you.
- Resize to the pixel size the form asks for. If it gives none, a portrait of about 400 to 600 pixels wide is plenty for an ID photo on screen.
- Only then compress to the KB target. A small image reaches 50 KB at a much higher quality than a 12 megapixel one.
Always start from the original photo. Each time you save a JPG it throws away a little more detail, so compressing a file that was already compressed for an earlier form makes the faults pile up. Keep the camera original and make a fresh copy for every form.
For more on how quality settings and pixel size trade against each other, see how to get any image under 200 KB and compressing images without visible quality loss. The same logic applies at 50 KB, with smaller numbers.
Photo rejected for being too small
Many forms have a minimum, and people meet it more often than they expect. A small photo with a plain white background compresses very well, and a signature is mostly empty paper, so a 140 x 60 pixel signature can easily come out under 10 KB. In our test, a clean signature at that size saved as a JPG of about 3.5 KB even at quality 95.
There are two ways to raise the size. The first is to make the file again from your original photo at a larger pixel size, if the form allows a range, and at a higher JPG quality. That keeps more of the original detail. Enlarging a file that is already small only adds pixels, so start from the camera original. The second is padding. A JPG can carry extra data blocks that image viewers skip, so a file can be made bigger without changing a single pixel. Compress Image to KB does this when you set a minimum and save as JPG, and it never pads past your maximum. Padding satisfies a size rule, but it cannot add sharpness, so use the first method when the photo looks small or soft.
Rejected because of the file type
"Only JPG allowed" often catches iPhone users out. iPhones save photos as HEIC by default, and many portals refuse it. Renaming IMG_2041.heic to IMG_2041.jpg does not change what is inside the file. A checker that reads the file's first bytes still sees HEIC, and one that only reads the name may accept a file it later cannot open. Convert the photo instead, with HEIC to JPG or the Image Converter, which also handles WebP, PNG and AVIF and reports what a file really is, even when its name says otherwise.
Two other habits produce the wrong type without you noticing. A screenshot of a photo is usually a PNG at your screen's resolution, with the phone's status bar or a border included. A photo saved from a chat app or a web page may be WebP, or may have been shrunk on the way. Use the original camera file whenever you can.
Rejected for the wrong dimensions or shape
Forms state the size of a photo in three different ways, and it helps to know which one the checker can measure.
- Pixels, such as 200 x 230. The checker reads these straight from the image, so they must match exactly or fall inside the range given.
- Centimetres or millimetres, such as 3.5 x 4.5 cm. A digital file has no physical size until you choose a resolution, so these numbers need converting to pixels.
- DPI, such as 200 DPI. DPI is a number stored inside the file that says how large to print it. Changing it does not change the pixels or the KB.
To turn millimetres into pixels, divide by 25.4 and multiply by the DPI. These are the results for common photo sizes:
| Photo size | At 100 DPI | At 200 DPI | At 300 DPI |
|---|---|---|---|
| 35 x 45 mm (3.5 x 4.5 cm) | 138 x 177 px | 276 x 354 px | 413 x 531 px |
| 2 x 2 inch (50.8 x 50.8 mm) | 200 x 200 px | 400 x 400 px | 600 x 600 px |
| 50 x 70 mm | 197 x 276 px | 394 x 551 px | 591 x 827 px |
If a form gives both pixels and centimetres, the pixels win, because those are what the checker measures. If it gives only centimetres, 300 DPI is a safe choice for printing, but check that the result still fits the KB limit. A 413 x 531 photo usually fits under 50 KB at normal JPG quality, and Compress Image to KB lowers the quality a step at a time when it does not.
The shape matters as much as the size. Resizing a tall phone photo straight to 200 x 230 distorts it, and the person who reviews your application later can reject a stretched face. Crop first, then resize. In the Image Resizer, untick "Keep proportions" and choose "Crop to fill" so the edges are trimmed instead of the face being stretched. Compress Image to KB does the same when you pick an exact width and height: it crops the overflow from the centre, so check that the crop kept the top of the head and both shoulders.
For passport-style photos, the Passport Photo Maker combines these steps. It crops to sizes such as 35 x 45 mm or 2 x 2 inch, sizes the head to the usual rules and saves a 300 DPI file. If you set a limit such as 50 or 100 KB, it lowers the quality first and reduces the pixel size only when the quality alone cannot get there.
Getting a signature scan accepted
Signature fields fail for different reasons than photos. The common ones are a crop that includes half the page, grey or shadowed paper, faint ink and, as covered above, a file that is too small. A few habits fix most of them:
- Sign on plain white paper in the ink colour the form asks for, a little larger than you normally would, so the strokes survive being shrunk.
- Photograph it flat, in daylight, with the phone held straight above the page so the shadow of your hand or phone does not fall across it.
- Crop close around the signature, leaving a small even margin, then resize to the field's pixel size.
- Compress last, and set the minimum as well as the maximum.
Some forms also ask for a thumb impression or a handwritten declaration as an image. Treat these the same way as a signature: crop tight, use even light and check both size limits.
Background and lighting problems
A checker cannot judge a background, but the person who reviews your application later can, and a rejection at that stage costs more time. Most forms want a plain white or light background with the face evenly lit. The Background Remover can replace a busy background with white. Check your form's rules before you do this, though. Passport offices in particular can refuse photos that were digitally changed, and for those a fresh photo against a plain wall is the safer route.
When the form wants a PDF
Certificates, ID cards and mark sheets are often uploaded as PDF with their own limit, commonly a few hundred KB or 1 MB. The KB trap applies here too: a file shown as 990 KB on Windows is about 1.01 million bytes, which a portal counting 1,000 bytes per KB reads as just over 1 MB. To combine photos of the pages into one file, use JPG to PDF, and to shrink a scan that is too large, use Compress PDF. Its Balanced level shrinks the pictures inside and keeps any text that was already selectable. A scanned page stays an image of text.
Keep ID photos and documents private
The files you prepare for these forms are the ones you least want copied: your face, your signature, ID numbers and certificates. Many free resizers upload each file to their own server to process it. Every tool linked in this guide runs in your browser, so the photo is resized, converted or compressed on your own device and is not sent to us. Our guide on whether online file converters are safe shows two quick tests you can run on any site before you trust it with an ID document.
A pre-upload checklist for online form photos
- Read the form's own numbers for KB, pixels and file type, separately for photo and signature.
- Start from the original camera photo, not a screenshot or a forwarded copy.
- Convert HEIC, WebP or PNG to JPG if the form asks for JPG.
- Crop to the right shape, then resize to the exact pixels.
- Compress to a target a few KB inside both ends of the range.
- Check the exact byte count in the file's properties, not the "size on disk".
- Open the final file once to confirm it shows the whole head and is not stretched.
If the portal still refuses a file that meets every number, try a different browser and make sure the file name has no spaces or special characters. A name like photo.jpg avoids the occasional portal that rejects anything else.
Frequently asked questions about rejected form photos
Why does the form say my photo is too big when it shows 50 KB?
The portal probably counts 1,000 bytes per KB, while Windows counts 1,024. A file Windows shows as 50 KB is about 51,200 bytes, which such a portal reads as 51.2 KB. Compress to around 45 KB and the file passes either way.
How do I increase my photo size from 8 KB to 20 KB?
Make it again from the original photo at a larger pixel size or higher JPG quality if the form allows it, which keeps more detail. If the pixel size is fixed, set a minimum in Compress Image to KB and save as JPG. It pads the file with data that viewers ignore, so the picture stays the same and the size passes.
Is 1 KB 1,000 or 1,024 bytes?
Both are in use. Under the international standard 1 KB is 1,000 bytes and 1,024 bytes is a KiB, but Windows still labels 1,024 bytes as KB. Current Macs and iPhones use 1,000. Upload portals do not usually say which they use, so aim inside both readings.
Does changing DPI reduce the file size in KB?
No. DPI is a note inside the file about print size. The KB depend on the number of pixels and the compression, so change the width and height or the quality instead.
Can I rename a .heic or .png file to .jpg?
Renaming does not convert the file. Many portals read the start of the file and reject it, and others accept it but cannot display it later. Convert it to a real JPG first.
What size should a passport photo be in pixels?
It depends on the size the form gives and the resolution. A 35 x 45 mm photo is 413 x 531 pixels at 300 DPI, and a 2 x 2 inch photo is 600 x 600 pixels at 300 DPI. If the form lists pixels, use those exactly.