"The file is larger than allowed." It's a familiar message when you upload a personal photo to a job portal, a photo of a document to a government website, or an attachment to an online form. In this article we explain why phone photos are large, what actually makes them smaller, and what to do when the size limit is very small.
Why are phone photos so large?
Modern phone cameras take photos of around 4000 × 3000 pixels, which is 12 million pixels in a single photo. That resolution is useful for printing and zooming in, but it's far more than any online portal needs to show the photo in a small box. So a photo is often several megabytes.
Three things decide an image's size
- Dimensions: the number of pixels across and down, and the biggest factor. Scaling a photo down from 4000 × 3000 to 1280 × 960 cuts the number of pixels to about a tenth.
- Format: JPG suits photos and keeps files small, while PNG keeps every detail and is much larger for ordinary photos.
- Compression level: the more a JPG is compressed, the smaller the file and the slightly lower the quality. Most people can't see the difference at medium levels on a screen.
The quick way: the image compressor
The Hisba image compressor does all three in one step: it scales the photo down to no more than 1280 × 1920 pixels and saves it as a JPG at a medium compression level. The image isn't uploaded to any server, because all the processing happens in your browser, which matters with photos of IDs and documents.
After compressing, the tool shows the size before and after. If the image was already compressed and didn't get smaller, it tells you so and suggests keeping the original.
If the size limit is very small
Some websites require a very small file, such as under 100 or 200 KB. If the image is still over the limit after compressing, try these in order:
- Crop the photo: remove the parts you don't need with your phone's editing tool, such as the background around a face or the table around a document. Cropping reduces the number of pixels and the size.
- Compress the photo again after cropping with the tool.
- Photograph documents in good light against a plain background: shadows and busy backgrounds contain a lot of detail, which increases the size.
- Check the required format: if the website requires a PDF, the tool doesn't produce PDF files, and you'll need another app to convert the image.
Common mistakes
- Sending a screenshot of the photo instead of the photo itself: it may reduce the size, but it adds the edges of the screen and lowers the sharpness. Cropping and then compressing is better.
- Compressing a photo many times: every JPG compression loses some detail. Always compress from the original photo, not from a copy that's already been compressed.
- iPhone photos in HEIC format: many websites don't accept them. In the camera settings, choose "Most Compatible" so photos are saved as JPG.
- Transparent images: JPG doesn't support transparency, so a transparent background becomes white. That's fine for documents and personal photos, but not for logos.
Always keep a copy of the original photo: the compressed copy is for uploading and sending, not for printing.