By Mian Shafiq · Published
Most online application forms reject a photo or signature for one of three reasons: the file is too big or too small in KB, the pixel size is wrong, or the picture is the wrong shape. You can fix all three at once with Resize Image to KB: set the KB range and pixel size from the form, choose your picture, and download. Below is what each requirement means and what happened when we put real photos through it.
Nothing is uploaded to our server, which matters when the photo is going on an ID card or a CNIC-linked application.
| What we put in | Form asked for | What came out |
|---|---|---|
| 12-megapixel photo, 7.5 MB | 20 to 50 KB, any size | 47.7 KB, 819 × 614 px, quality 75% |
| Same photo | 10 to 20 KB at 413 × 531 px | 19.4 KB (19,832 bytes), quality 70% |
| Portrait, 593 KB PNG | 20 to 50 KB at 413 × 531 px | 46.8 KB, quality 90% |
| Scanned signature on grey paper, 192 KB | 10 to 20 KB at 413 × 177 px | 17.4 KB, paper kept as scanned |
| Same signature, cleaned up | 10 to 20 KB at 413 × 177 px | 10,001 bytes at 100% quality: just under the minimum |
| Same signature, cleaned up | 10 to 20 KB at 600 × 250 px | 16 KB, pure white paper |
Two lessons came out of this. Big photos don't need brutal compression: when the pixel size is up to us, shrinking the picture to 819 pixels kept quality at 75% instead of dropping to around 20%. And a very clean signature can be too small. If the form demands at least 10 KB and your signature keeps landing under it, use a larger pixel size or skip the clean-up.
Both are in use. Windows and most programmers count 1 KB as 1,024 bytes, so 20 KB is 20,480 bytes. Some websites count 1,000. A file of 20,300 bytes passes one kind of form and fails the other, and the error message won't tell you which rule it used.
The safe answer is to aim for both: stay under 20,000 bytes for a 20 KB maximum, and above 10,240 bytes for a 10 KB minimum. That's what our tool does automatically. To check a file yourself on Windows, right-click it, choose Properties and look at Size, which shows the exact bytes in brackets.
Divide the millimeters by 25.4 to get inches, then multiply by the DPI. At 300 dpi:
If the form gives pixels directly, use those and ignore mm.
For how your photo looks, no. A 413 × 531 pixel image looks identical whether the file says 72 or 300 dpi; DPI is only a label telling a printer how big to print it. A few portals do read that label and reject anything that isn't 300, so our tool writes 300 dpi by default. If a form says nothing about DPI, leave it as it is.
Many photo forms want a plain white or light blue background. If yours isn't, run the photo through Remove Background first, which gives you a transparent PNG; when you then resize it here, transparent areas become white. Check your form's rules: some don't accept edited photos at all.
The form probably counts a KB as 1,000 bytes. A file showing "20 KB" in Windows can be up to 20,480 bytes, which is over a 20,000-byte limit. Resize again with the tool, which stays under both.
Only if the form allows it, and most don't. JPG is also far smaller for photos, which makes a KB limit easier to meet.
On iPhone, go to Settings, then Camera, then Formats, and choose Most Compatible so new photos save as JPG. For a photo you already took, share it to yourself by email or WhatsApp, which usually converts it to JPG.
If the form wants a PDF, turn the scan into one with JPG to PDF, and shrink it with Compress PDF if it's over the limit.