Reason: uneven lighting (diff=...)
Fix Passport Seva uneven lighting errors by retaking with balanced front light, no shadows, a plain white background, and a fresh 630x810 JPEG.
What This Error Means
The error usually appears as "reason: uneven lighting (diff=...)" or as part of a longer Passport Seva rejection message. The important word is lighting, not just file size or pixel dimensions.
In plain English, the portal is flagging a photo where one part of the face, head, or background is noticeably brighter or darker than another. The published Passport Seva and ICAO-style guidance requires an evenly lit face and a plain background with no shadows. The portal does not publish the exact diff threshold, so do not try to tune a number by trial and error. Fix the lighting setup and rebuild the file.
If your photo also mentions background variance, compare it with the background not uniform error. If the message is only about uneven lighting, start with the retake workflow below.
Why It Happens
Uneven lighting usually comes from the shooting setup, not from the 630×810 export itself. Common causes include:
- Window light from one side, making half of the face brighter than the other half.
- Overhead room lights, creating shadows under the eyes, nose, chin, or ears.
- Standing too close to the wall, which casts a dark shadow behind the head and shoulders.
- Phone flash, which creates a bright center and darker corners.
- Mixed lighting, such as daylight plus warm indoor bulbs, which can make the background and skin tones uneven.
- Trying to brighten the file after the fact, which can create unnatural gradients or visible editing artifacts.
A file can be exactly 630×810 pixels and still fail this check if the original capture has uneven light. For the complete rejection workflow, use the Passport Seva photo rejected checklist.
3-Step Fix
- Retake with balanced front light. Face a large window or use two similar lights placed in front of you, one on each side. Turn off harsh overhead lights and avoid direct sun or flash.
- Control shadows before you crop. Stand at least 1 meter from the white background so your head and shoulders do not cast a shadow. Keep the camera at eye level, use the rear camera, and make sure both sides of the face look equally bright.
- Build a fresh upload file. Crop to 7:9, resize to exactly 630×810 pixels, save as JPEG under 250 KB, and rename simply, such as
photo.jpg. Then follow the Passport Seva photo upload walkthrough from a fresh desktop browser session.
What Not to Do
- Do not keep compressing the same file. Compression changes file size; it does not fix uneven light.
- Do not use beauty mode, portrait mode, or AI relighting. Passport Seva guidance expects an unaltered photo.
- Do not crop tighter to hide shadows. That can create face coverage or chin/crown spacing failures.
- Do not upload the same rejected file repeatedly. Fix the source photo first, then spend another attempt.
Frequently Asked Questions
What does reason: uneven lighting (diff=...) mean on Passport Seva?
It means the photo appears unevenly lit to the portal's automated check. One side of the face, head, or background may be brighter or darker than the other. Retake with balanced front light instead of editing the rejected file.
Can I fix uneven lighting by brightening the photo?
Usually no. Brightness edits can create unnatural gradients or make the photo look digitally altered. The safer fix is to retake the photo with better lighting, then crop and resize from the clean original.
Is uneven lighting the same as background not uniform?
They are related but not identical. Uneven lighting focuses on brightness imbalance across the photo, especially the face. Background not uniform focuses on shadows, texture, or color variation behind you. If your message names both, fix the lighting and the background together.
For the full list of Passport Seva upload messages, use the Passport Seva photo upload errors hub. If your next rejection mentions blur or compression, use the image quality error fix.