Photo Too Large for an Online Form? Get It Under 20, 50 or 100 KB
By Tony Riva
Visa, exam and job portals often accept only small JPG photos with exact pixel sizes. How to hit limits like 20 KB, 50 KB or 100 KB without making the photo unusable.

Government portals, exam registrations, university applications and job sites often ask for a photo or a scanned signature with strict rules: “JPG only, 20 to 50 KB, 200 × 230 pixels”. A photo from a modern phone is 3 to 8 MB, a hundred times too big. Uploading fails, and the error message rarely says why. Here is a simple, reliable way to meet such limits with Compress Image and Resize Image.
Understand the two different limits
Most forms combine two requirements, and they are easy to confuse:
- File size in KB or MB: how much space the file takes. Controlled mainly by the number of pixels and the compression level.
- Dimensions in pixels (for example 600 × 600) or in centimetres at a given DPI: how big the picture is.
The number of pixels has the biggest effect on file size. A 4000 × 3000 photo will never get under 50 KB with acceptable quality, but the same photo at 600 × 450 easily will.
Step 1: get a JPG
Forms almost always want JPG (also called JPEG). iPhone photos are often HEIC: convert them first with HEIC to JPG. Screenshots are usually PNG; they convert in PNG to JPG.
Step 2: crop to the required shape
If the form asks for a specific ratio, such as a square or 3.5 × 4.5, crop first with Crop Image. Keep the face or the signature in the centre with a little space around it. For passport and visa photos with rules about head size and background, the Passport Photo tool does this for you.
Step 3: resize to the pixel size
Open Resize Image and enter the exact width and height the form asks for. If the form gives only a maximum file size, these widths are a good starting point for a photo of a person:
| Target file size | Try this width |
|---|---|
| 20 KB | 300–400 px |
| 50 KB | 500–600 px |
| 100 KB | 700–900 px |
| 200 KB | 1000–1200 px |
These are rough values: a photo with a plain background compresses much better than one with leaves, patterns or noise from a dark room.
Step 4: compress
Now open Compress Image and choose Recommended. Look at the new size. If it is still above the limit, choose Strong, or go back and make the picture a little smaller in pixels. Repeat until the file fits. Check the result at 100% zoom: the face or the signature must stay clear.
Signatures and documents
For a scanned signature, crop tightly around it, resize to the requested size and compress. Black ink on white paper compresses very well, so signatures often get under 20 KB easily. For a document page, a PDF may be the better format if the form allows it; see our guide on compressing PDFs.
Common upload errors
- “File too large” although it shows 49 KB: some portals count 1 KB as 1000 bytes, others as 1024. Aim a few KB below the limit.
- “Invalid format”: the file may be HEIC or PNG renamed to .jpg. Convert it properly.
- “Image dimensions incorrect”: the portal checks exact pixels. Resize with “Keep proportions” off only if the ratio already matches, otherwise crop first.
- Photo looks too dark or blurry after upload: start again from the original, not from an already compressed copy.
Keep the original
Every compression loses detail that cannot be restored. Keep the original photo, and make a new small copy for each form, because different portals have different rules.
Tony has 12 years of experience in graphic design, office applications and software development. He writes about PDF and Office files, images, audio and everyday writing tools.




