How to resize a photo and signature for an online application form
Exam, job and visa portals usually set three rules at once: exact dimensions, a file size between two limits, and JPG only. Meet them in the right order and the upload goes through first time.
Processed locally in your browserTo fit a photo or signature to an online form, check the form's three rules — the pixel dimensions, the file size range in KB and the file format — then crop to the right shape, resize to the exact pixels and compress to just under the maximum size as a JPG. Do it in that order: resizing after compressing undoes the compression, and compressing first wastes quality you could have kept.
Read the requirements first
There is no universal size. Every portal sets its own, usually in the instructions or notice for that application, and it overrides any general advice — including this article. Look for these:
| Requirement | Looks like | What it means for you |
|---|---|---|
| Dimensions in pixels | "200 × 230 pixels" | Resize to exactly that, after cropping to the same shape |
| Dimensions in cm or mm | "3.5 cm × 4.5 cm" | Needs a DPI to become pixels. If the form gives one, pixels = cm ÷ 2.54 × DPI |
| File size range | "20 KB to 50 KB" | Both limits count: too small is rejected as surely as too big |
| Format | "JPG/JPEG only" | .jpg and .jpeg are the same format; PNG, WebP or HEIC will be refused |
| Background and content | "Light background, face clearly visible" | Fix these before resizing; no setting can fix them afterwards |
If a form gives centimetres and a DPI, our explainer on DPI versus pixels shows the conversion, and why changing the DPI number in a file doesn't change its size in pixels.
A worked example
The numbers below are an example for illustration, not any particular form's rules. Suppose a form asks for:
- Photo: 200 × 230 pixels, JPG, between 20 KB and 50 KB.
- Signature: 140 × 60 pixels, JPG, between 10 KB and 20 KB.
Resize the photo, step by step
- Crop to the same shapeOpen the photo in the Image Cropper, choose a custom ratio of 200 : 230, and frame the face the way the form asks. Cropping first means nothing gets squashed or cut off unpredictably later.
- Resize to the exact pixels in the compressorOpen the cropped photo in the Image Compressor and switch on Resize before compressing. Choose Exact, enter 200 × 230, and use the Cover fit, which fills the size exactly.
- Set a target size and JPGChoose Target size and enter a little under the maximum — 48 KB here. Set the output format to JPEG: the default, Auto, usually makes WebP, which most forms refuse. Turn on Preserve dimensions so the pixel size can't change.
- Download and checkBefore uploading, check the file's properties: 200 × 230 pixels, a .jpg extension, and a size between 20 and 50 KB.
The compressor searches for the highest quality that fits under the target, so the photo looks as good as the limit allows. Everything happens in your browser: the photo is not uploaded to ImageDoctor, which matters for identity documents.
Prepare the signature
- Sign on plain white paperUse a dark pen, sign a little larger than usual, and photograph it in daylight with the phone held flat above the page, or scan it.
- Crop tightly to the signatureIn the Image Cropper, use a custom ratio of 140 : 60 and leave only a small margin around the ink.
- Clean up the paper if it looks greyIn the Image Editor, raise Contrast and Brightness until the paper is white and the ink is dark. Some forms want black and white; Grayscale at 100% removes the colour cast.
- Resize and compress as aboveExact 140 × 60, Cover, Target size about 18 KB, JPEG, Preserve dimensions on.
Why "50 KB" isn't always the same number
Strictly, a kilobyte is 1,000 bytes; a block of 1,024 bytes has its own name, the kibibyte (NIST, checked 4 November 2026). In practice software uses "KB" for both. ImageDoctor counts 1 KB as 1,024 bytes, so a 50 KB target means up to 51,200 bytes — and a portal that counts in thousands would see that as 51.2 KB, over its limit.
The simple fix is a margin: aim a couple of KB under the maximum and comfortably over the minimum. A target of 48 KB is under 50 KB either way.
When the file is too small or too big
- Under the minimum. Small images compress very well, so a 140 × 60 signature can come out below a form's lower limit. Switch the compressor to Quality mode and raise the quality towards the top of the scale; the target-size search itself never goes above 96. If it is still too small and the form allows larger dimensions, use them. Don't add borders or noise just to gain bytes; forms check the content as well.
- Over the maximum. With Preserve dimensions on, the compressor lowers quality as far as it needs to, and tells you if it still can't fit: "Couldn't reach the target size. The smallest result at these settings is …". That usually means the target is unrealistically small for those dimensions; check that you entered the right numbers.
- Wrong format. If the portal rejects the file, check its extension. A photo straight from an iPhone may be HEIC, and a compressor left on Auto may produce WebP. Export as JPEG.
Common reasons uploads are rejected
- Dimensions a few pixels off, because the photo was resized without cropping to the same shape first.
- File size under the minimum, not just over the maximum.
- A PNG, WebP or HEIC file renamed to .jpg. Renaming doesn't convert it; export it as JPEG.
- Photo and signature uploaded into each other's boxes.
- A dark, shadowed or tilted signature that the form's reviewers can't read.
For printed passport and visa photos, which have stricter rules about head size and background, see making a passport photo at home. For the theory behind target sizes and quality, see compressing images without losing quality.
Common questions
Tools in this article
Format reference
Keep reading
- DPI vs pixels: what image resolution really meansPixels are what an image contains; DPI only matters in print. How to work out the pixels a print needs, and why 72 vs 300 DPI changes nothing on screen.
- How to make a passport photo at homeTake, size and print a passport or visa photo yourself: light, background, framing, exact size and DPI, printing at 100%, and where to check the official rules.Guides
- How to compress images without losing qualityWhat image compression actually discards, which quality setting to use, and how to hit an exact file size in KB or MB — step by step, in your browser.Guides