1. The 20KB Photo Threshold
Many government portals require document photos to be between 10KB and 20KB. High resolution photos from phones or scanners are normally 2MB+, making compression essential. If the file size is too large or too small, upload scripts will reject the document automatically. This guide details how to compress images to fit these requirements.
1.1 Balancing Dimensions and Quality
To fit files under 20KB, downscale the resolution (e.g. 150 x 200 pixels) and set compression rates to 75-80% to keep details readable without bloat. If you have signature scans that need similar compression, refer to our guide on Cropping and Sizing Signatures for official guidelines.
1.2 Output Format Control
Always output in JPG format, as PNG files do not support lossy compression and are too large for 20KB limits. The JPEG compression algorithm groups blocks of pixels together, reducing the details that consume memory space.
2. Step-by-Step Sizing Guide
Follow these steps to compress and resize document photos using our client-side Image Resizer:
- Select the image you want to resize. If the photo needs a white background first, use the Background Remover Tool.
- Open our Image Resizer Tool or the Image Compressor Tool.
- Upload the image file.
- Specify the target dimensions (e.g. 3.5 cm x 4.5 cm) or input the pixel width and height (e.g., 132 x 170).
- Select JPEG as the output format and set the quality slider to 75%.
- Click "Process Image" and download the optimized file. Check the size in your folder to confirm it is under 20KB.
2.2 Preparing Signature Files
Signatures have even stricter size requirements than photos, often needing to be under 10KB. To avoid rejection, read our detailed guide on Signature Cropping and Optimization to adjust your scanning and threshold settings correctly.
3. Compression Trade-offs: Size vs Legibility
The table below displays the effect of different quality settings on standard photos:
| Quality Percentage | Average File Size | Readability Status | Portal Compliance |
|---|---|---|---|
| 90% - High | 45KB - 60KB | Excellent | No (Too Large) |
| 75% - Medium | 12KB - 18KB | Very Good | Yes (Optimal) |
| 50% - Low | 6KB - 9KB | Pixelated | No (Too Blurry) |
4. Guidelines for Scanning Hardcopy Photos
If you scan physical photos, scan them at 300 DPI resolution. Avoid scanning at 600 DPI or higher, as this produces files that are too large and slow to process. Clean the scanner glass before scanning to remove dust specks, which can look like facial marks and cause rejections.
5. Security Benefits of Browser Processing
Running image compression in your browser memory ensures that your photos are not shared or stored. This protects your data from being accessed by third parties. Our client-side resizer runs entirely locally, providing a secure and fast tool for your document preparation.