Find three things in the form's instructions: the file type (usually JPG), the size in pixels or cm, and the file size range in KB. Crop your photo to the right shape, resize it to the pixel size with the resize image tool, then bring it into the KB range with the compress image tool. Check that the final file is above the minimum as well as under the maximum. Do the signature the same way. Both tools are free and work in your browser without uploading the photo.
Official example checked 25 October 2026 against Sarathi's photo and signature upload guide, linked at the end. Every form sets its own rules, so follow the one you are filling in.
Step 0: read the form's numbers
Most upload errors come from missing one of these. Write them down before you touch the photo.
| What to look for | Looks like | Why it matters |
|---|---|---|
| File type | "JPG / JPEG format" | A PNG or an iPhone HEIC photo is refused even if the size is right |
| Dimensions | "420 x 525 pixels" or "3.5 cm x 4.5 cm" | Sets the shape and how sharp the photo can be |
| File size range | "10 KB to 20 KB" | There is often a minimum too, not just a maximum |
| Photo rules | "recent, colour, light background" | A photo can be the right size and still be rejected |
Admission and exam forms often ask for your marks in the same step. If your marksheet shows a CGPA, work out the percentage a form wants from your CGPA with your board's or university's own rule.
A real example: Sarathi driving licence upload
Sarathi is the government portal for learner's and driving licence applications. Its official upload guide sets these specifications:
| Photo | Signature | |
|---|---|---|
| File type | JPG | JPG |
| Size in pixels | 420 x 525 preferred (35 mm x 45 mm, at least 420 x 525) | 256 x 64 preferred |
| File size | 10 KB to 20 KB | 10 KB to 20 KB |
| Other rules | Recent (within 6 months), passport size, colour, light background, preferably white; no caps, hats or dark glasses | Your own signature, black pen on white paper |
From Sarathi's "Photo and Signature Scan & Upload Process" (PDF), checked 25 October 2026. It also says the application won't be registered unless the photo and signature meet these specifications.
Applying for a licence? Here is the full driving licence document list.
The steps below use these numbers. For another form, swap in its own.
Resize your photo, step by step
- Start from the original. Use the photo straight from your camera, not one sent through a chat app, which may already have shrunk it.
- Crop to the right shape. In your phone's gallery app, crop around your head and shoulders so the photo is a little taller than it is wide. 420 x 525 is a 4 by 5 shape. Getting the shape right here means nothing gets stretched later. If the photo is for a US or Australian passport, or an Indian passport applied for from abroad, you can crop to passport size with face guides instead.
- Resize to the pixel size. Open the resize image tool, choose Pixels and type 420 as the width. With "Keep proportions" ticked, the height follows; it should be 525 or very close if your crop was 4 by 5. Set the format to JPG and download.
- Bring it into the KB range. Open the compress image tool, add the resized photo, pick Custom and type 19 (a little under the 20 KB maximum), keep JPG, and tap Compress.
- Check the result. The tool shows the new file size and dimensions. The size should be inside the range (here, above 10 KB and under 20 KB) and the dimensions should still be 420 x 525. Zoom in: your face should be clear.
If you untick "Keep proportions" and type both numbers, the tool stretches the photo to fit. It doesn't crop. That's why the crop comes first.
Resize your signature
- Sign on plain white paper with a black pen, a little larger than normal.
- Take the photo in good light, straight from above, with no shadow across the paper.
- Crop tightly around the signature in your gallery app. Sarathi's 256 x 64 is a long strip, four times wider than it is tall, so leave only a little space above and below.
- In the resize image tool, set the width to 256 pixels, format JPG.
- In the compress image tool, compress to a size inside the range, then check the result as above.
When the form gives cm, not pixels
Some notices give only a print size, such as 3.5 cm x 4.5 cm. In the resize tool, choose Print size, type the cm and pick a DPI. At 300 DPI, 3.5 x 4.5 cm works out to about 413 x 531 pixels. If the form gives both cm and pixels, as Sarathi does, type the pixels: that's the number the upload page checks.
KB, kB and 1,024
Some portals count 1 KB as 1,000 bytes and some as 1,024. Our compress tool aims just under the number you pick, counted in 1,000s, so a "20 KB" file is under 20,000 bytes and passes either way. For a minimum, leave a little room above it too.
To compare rules across forms, see our study of upload limits on 50 official portals.
If the upload still fails
| What you see | What to try |
|---|---|
| File too large | Compress again to a lower target inside the range |
| File too small | Start again from the original photo and pick a target nearer the maximum |
| Wrong format | Save as JPG. A file renamed from .png to .jpg is still a PNG inside |
| Wrong dimensions | Resize first, then compress, and check the dimensions in the result |
| Photo looks blurry | Retake it in daylight and crop before resizing, so fewer pixels are thrown away |
Keep the final files for next time
We make DocIt, so weigh this part with that in mind. Exam, job and licence forms often ask for the same photo and signature again. Once yours are right, keep the final files so you don't redo this each time.
- Import the finished photo and signature into DocIt and name them, for example "Form photo 420x525" and "Signature 256x64". Find them later by name.
- Your documents are encrypted on this phone. No sign-up and no ads.
DocIt is free on Google Play, on Android. In the app, DocIt can make a photo or PDF smaller, to under 100 KB, 200 KB, 500 KB or 1 MB. For an exact KB range or pixel size, use the tools above.
Questions
What does "20 KB to 50 KB" mean on a form?
The file must be at least 20 KB and no more than 50 KB. Both limits count. Pick a target near the top of the range, such as 45 KB, and check the result is still above the minimum.
Can I get a photo to 20 KB without losing quality?
Some detail is always lost at 20 KB. Starting from the right pixel size helps most: a 420 x 525 photo fits in 20 KB far better than a full phone photo squeezed down. The compress tool keeps the highest quality that fits, and only makes the picture smaller if it has to.
My file is under the minimum. How do I make it bigger?
Go back to the original photo from your camera, not a copy you already shrank. Resize it to the pixel size the form asks for, then compress it to a target near the top of the allowed range.
Can I do this on my phone?
Yes. Both tools run in your phone's browser. There is nothing to install.
Is it safe to resize an ID photo on a website?
On many sites your photo is uploaded to their server. Our resize and compress tools work inside your browser, so the photo stays on your device. You can turn on airplane mode after the page loads and they still work.
Related
- Compress image to KB: shrink a photo or signature to 20, 50, 100 KB or any size
- Resize image: set exact pixels or a print size in cm
- Image to PDF for forms: put photos of your documents into one PDF under a size limit
- Car documents in India: RC, insurance, PUC and licence
