Why does your photo look blurry after compressing it? Why do some portals accept 50 KB while others want 100 KB? Here's a plain-English explanation of JPEG compression and how to use it smartly.
| Quality % | Approx Size (3.5×4.5 cm photo) | Visual Quality | Best For |
|---|---|---|---|
| 95–100% | Very large (500 KB–2 MB) | Excellent | Professional photography, archiving |
| 80–90% | Large (150–400 KB) | Very good | Web display, blog images |
| 60–75% | Medium (60–150 KB) | Good | Govt portals (100 KB limit) |
| 40–55% | Small (20–60 KB) | Acceptable | Exam portals (50 KB limit) |
| 20–35% | Very small (5–20 KB) | Degraded | Only if portal requires under 20 KB |
JPEG divides your image into 8×8 pixel blocks and applies a mathematical transform (DCT — Discrete Cosine Transform) to each block. This converts pixel values into frequency coefficients — like converting a sound wave into its component notes. High-frequency coefficients (fine texture, sharp edges) are discarded first, because the human visual system is less sensitive to them. Lower-frequency coefficients (overall colour and brightness) are kept. The result is a smaller file that looks nearly identical to the original at moderate compression.
At very high compression, too much is discarded and you see the 8×8 blocks as rectangular patches — "blocking artifacts". Faces show these most clearly around eyes, lips, and hair edges. At the compression levels needed for 50 KB (a passport photo at 413×531 px), the JPEG quality is around 40–55%, which is acceptable for identity verification but not for printing or display.
JPEG is a "lossy" compression format. When you save a photo as JPEG, the compression algorithm discards visual information the human eye is least likely to notice — particularly fine colour variations and high-frequency details. This makes the file smaller, but permanently removes some data. The more you compress, the more data is lost and the lower the visual quality.
JPEG compression works on 8×8 pixel blocks. At high compression levels, all pixels in a block are averaged together, creating visible rectangular patches called "compression artifacts". Faces, especially eyes and edges, show these artifacts most clearly.
For 50 KB portals (SSC, IBPS): quality around 40–55%. For 100 KB portals (passport, NPS): quality around 60–75%. PhotoFit calculates this automatically — you just enter the target KB and it finds the right quality level for your photo.
JPEG is required by virtually all Indian government portals and visa applications. PNG files are typically larger and are rejected by most exam portals. Always upload as JPEG for identity photos unless a portal specifically accepts PNG.
Yes. Each time you open and re-save a JPEG, the compression runs again on already-compressed data, introducing new artifacts on top of old ones. This is called "generation loss". To avoid it, always compress from your original photo, not from a previously compressed version.