Why the form rejects your photo
A photo taken with a recent smartphone is often 4000 × 3000 pixels or more and weighs 3 to 5 MB. Many portals, by contrast, accept attachments of 100, 200 or 500 KB, and sometimes even less for signatures and ID photos.
The reason is simple: whoever runs the portal has to store thousands of documents and doesn't need a 12-megapixel photo to recognise a face or read a signature.
"Random" fixes, like taking a screenshot of the photo or sending it through WhatsApp and downloading it again, sometimes work but give unpredictable results: grainy images, cropped edges, washed-out colours. There's a more precise way.
How to hit an exact size
A JPG's file size depends on two things: how many pixels it has and how compressed it is. The Compress Image to KB tool works on both, in the right order:
- it tries several JPG (or WebP) quality levels and keeps the highest one that stays under the limit you chose;
- only if even a low quality isn't enough does it shrink the dimensions in small steps and try again;
- it shows you the final size, the pixel dimensions and whether the limit was met.
That way a 4 MB photo drops to 200 KB while almost always keeping its original dimensions, while for 20-50 KB the image is also scaled down, because at those sizes there's no other way.
If the form also specifies dimensions (for example "longest side 1200 pixels"), you can set them in the same tool. For a scanned signature, crop just the signature first with Crop Image: less white background means more detail for the same size.
Mistakes to avoid, and a hidden bonus
A few precautions prevent the classic last-minute "invalid file":
- iPhone HEIC photos: many portals don't accept them. Convert them first with HEIC to JPG.
- PNG for photos: PNG is meant for graphics and logos; for a photograph it's much heavier than JPG at the same quality.
- Shrinking the same file repeatedly: every JPG pass loses quality. Always start again from the original.
- Leave some margin: if the limit is 200 KB, aim for 190. Some portals count KB differently (1000 or 1024 bytes).
The hidden bonus is about privacy: by re-encoding the photo in the browser, the final file no longer contains EXIF metadata, including the GPS location where it was taken. A detail that should never end up in a form, and here it disappears without you doing anything. And since everything happens on your device, the photo of your ID never passes through a server.
Put this into practice directly in your browser:
Compress Image to 100 KB (or Any Size)
Set a maximum size (20 KB, 50 KB, 100 KB, 200 KB...) and get the best-looking photo that fits, for forms and application portals. Batch, no upload.
Resize Image in Pixels & Percentage
Scale and resize photos to exact pixel width/height or preset percentages (25%, 50%, 75%, 200%) while preserving aspect ratio. 100% in-browser.
HEIC to JPG Converter
Convert iPhone HEIC/HEIF photos to JPG or PNG in batch, right in your browser. Optional EXIF/GPS removal, zero uploads.
EXIF & GPS Metadata Remover
Strip sensitive GPS location coordinates, camera models, and timestamps from your photos before sharing online. 100% private.
Riccardo builds and maintains FileOmniTool on his own. The articles explain how file formats work and how to handle them without uploading documents. About →