A 4MB photo from your phone camera can be compressed to under 200KB with zero visible quality loss. That single change can make a website 10× faster, help you upload documents to government portals, pass WhatsApp forwards with quality intact, and dramatically improve your Google rankings. This guide explains exactly how image compression works and the smartest way to use it.
India has one of the world's largest mobile internet user bases — and a significant portion accesses the web on 4G connections with limited data plans. Uncompressed images are the single biggest cause of slow websites and failed government portal uploads. The problem is everywhere:
All image compression falls into one of two categories — and choosing the wrong type for your use case either wastes file size or degrades your image unnecessarily.
| Type | How It Works | Size Reduction | Quality Impact | Best For |
|---|---|---|---|---|
| Lossy | Permanently removes pixel data the eye barely notices — colour details, high-frequency textures | 60–90% | Imperceptible at 75–85% quality; visible below 60% | Photographs, social media, web images |
| Lossless | Reorganises file data more efficiently without discarding any pixel information | 20–40% | Zero — pixel-perfect identical to original | Logos, icons, medical images, legal documents, screenshots with text |
The 80% rule: For JPEG photographs, compressing at 80% quality is the sweet spot — typically 60–70% smaller than the original with zero perceptible quality loss. Going below 70% starts introducing visible artefacts (blocky patterns in uniform areas like sky or skin). Always use 75–85% for photos you care about.
Never compress a JPEG twice. Lossy compression is irreversible — each re-compression discards more data. If you need to edit a photo, always work from the original file, make all edits, then compress once at the end. Re-compressing a compressed JPEG introduces cumulative artefacts.
| Format | Compression | Transparency | Best For | Avg Size vs JPEG |
|---|---|---|---|---|
| JPEG / JPG | Lossy | No | Photographs, complex images with gradients | Baseline |
| PNG | Lossless | Yes (alpha) | Logos, icons, screenshots, text images | 2–5× larger than JPEG |
| WebP | Both (lossy + lossless) | Yes | All web images — photos and graphics | 25–35% smaller than JPEG |
| AVIF | Lossy + lossless | Yes | Next-gen web images (emerging standard) | 40–50% smaller than JPEG |
| GIF | Lossless (256 colours) | Binary (on/off) | Animations only — static GIFs are obsolete | Much larger than WebP |
| SVG | Vector (not raster) | Yes | Logos, icons, illustrations — scales infinitely | Tiny for simple graphics |
2026 recommendation: Use WebP for all new web images. All major browsers support it. It gives you lossless quality for graphics (like PNG) and excellent lossy compression for photos (better than JPEG) — in one format. For Indian government portal uploads that only accept JPEG, compress at 80% quality and ensure dimensions match the specified pixels.
This is the most common reason Indians compress images — and getting it wrong means a rejected application. Here are the exact limits for major Indian portals:
| Portal / Exam | Photo Size Limit | Signature Limit | Format Required | Dimensions |
|---|---|---|---|---|
| UPSC Civil Services | 40 KB max | 40 KB max | JPEG | Photo: 3.5×4.5 cm · Sig: 3.5×1.5 cm |
| SSC CGL / CHSL | 50 KB max | 20 KB max | JPEG | Specified per notification |
| IBPS PO / Clerk | 100 KB max | 35 KB max | JPEG | 200×230 px (photo) |
| SBI PO | 100 KB max | 35 KB max | JPEG | 200×230 px (photo) |
| Income Tax e-Filing | 50 KB (signature) | — | JPEG / PNG | Specified |
| Passport Seva | 100 KB max | — | JPEG | 35×45 mm · white background |
| IRCTC Profile | 20 KB max | — | JPEG | 100×100 px |
| DigiLocker Upload | 5 MB max | — | PDF / JPEG / PNG | — |
Always check the current notification. Government portal requirements change each exam cycle. The table above is based on 2025–26 notifications. Always verify the exact pixel dimensions and KB limits in the official notification PDF before uploading — wrong dimensions cause automatic rejection even if the file size is correct.
Example: UPSC — Photo max 40KB, 3.5×4.5 cm at 100 DPI = approximately 138×177 pixels.
Upload your photo. Set the target quality and check the output file size. For UPSC 40KB limit, target 30–35KB to have margin.
Use the resize option to match the required pixel dimensions exactly. Incorrect dimensions are the most common cause of photo rejection.
Right-click the downloaded file → Properties → check the exact KB size. Confirm it is within the portal limit before submitting.
Google's Core Web Vitals — specifically Largest Contentful Paint (LCP) — directly measures how fast the main image on your page loads. Poor LCP is one of the most common reasons Indian websites rank lower than their content quality deserves.
Quick SEO win: Run your website through Google PageSpeed Insights (pagespeed.web.dev). If images are flagged, compress them with ToolLoom, re-upload, and re-run the test. Most Indian small business websites gain 20–40 PageSpeed points from image compression alone — translating directly to better search rankings.
| Mistake | Why It's a Problem | Fix |
|---|---|---|
| Compressing a JPEG multiple times | Each lossy pass discards more data — cumulative artefacts destroy quality | Always compress from the original. Never re-compress an already-compressed JPEG. |
| Using PNG for photographs | PNG lossless compression on a photo gives a file 3–5× larger than JPEG at equivalent visible quality | Use JPEG or WebP for photos. PNG only for graphics, logos, screenshots with text. |
| Compressing below 60% quality | Below 60% JPEG quality, blocky artefacts (compression noise) become clearly visible, especially in smooth areas | Never go below 70% quality for any image you'll share publicly. 75–85% is the ideal range. |
| Uploading wrong dimensions to govt portals | Portals auto-reject images where pixel dimensions don't match requirements — even if file size is correct | Resize to exact pixel dimensions specified in the official notification before compressing |
| Not stripping EXIF metadata | EXIF data (camera model, GPS location, shooting settings) adds 20–50KB to photos and is a privacy risk | Strip EXIF on compression — ToolLoom's compressor removes it automatically |
ToolLoom builds free tools for Indian students, professionals, and creators. Our Image Compressor processes everything in your browser — no photos are uploaded to our servers. Found a bug? Email us at contact@toolloom.in
Compressing Images for Social Media & WhatsApp
WhatsApp quality trick used by Indian photographers: Rename your image file with a .pdf extension — WhatsApp treats it as a document and does not recompress it, sending the original quality file to the recipient. The recipient renames it back to .jpg to open it normally. This preserves full quality without any compression loss.