Files never leave your device

Pakistan Passport Photo — the Real DGIP Upload Requirement

Renewing a Pakistani passport through DGIP's Online MRP portal involves a photo upload that confuses a remarkable number of applicants — because the portal's own guidance pages talk about photos "up to 5MB", while the actual submission validator enforces something far stricter. Applicants follow the help page, upload a 2MB photo, and get rejected with no clear explanation.

What the system actually enforces

The live validation on the DGIP online system requires: 350×467 pixels, JPEG/JPG format, no more than 20KB, plain white background, and no glasses, cap, hat, headdress or turban. This is the rejection message the system itself shows applicants whose files don't comply — the 5MB figure on the capture-guidance page refers to the initial photo you take, before the system's own processing, not what the upload step accepts.

Why 20KB is harder than it sounds

20KB is one of the tightest limits of any government portal worldwide. At 350×467 pixels it's achievable with good quality, but only if the compression is precise — a generic "compress image" tool with a quality slider will overshoot or undershoot repeatedly. This is exactly the case the PixKB Pakistan passport preset was built for: it resizes to 350×467 and binary-searches to the best quality that stays under 20KB, in one tap.

Photo-taking tips for this spec

Use a plain white wall, daylight or a light source facing you, no shadows behind the head. Remove glasses and any head covering (religious head coverings have separate in-person rules at DGIP offices — the online system's automated check is strict). Keep the framing chest-up; the 350×467 portrait ratio suits a standard passport crop.

Frequently asked questions

Why does the DGIP site say 5MB if the limit is 20KB?

The 5MB figure describes the photo you initially capture or scan. The upload validator that decides acceptance enforces 20KB — a contradiction in their documentation that causes many failed submissions.

Is this the same as the NADRA CNIC photo requirement?

No. CNIC (national ID) and passport (DGIP) are different systems with different requirements. This page covers the passport portal only.

What if my photo keeps failing at exactly 20KB?

Aim slightly under — 19KB is safer than 20.4KB. PixKB's 'at or under' mode does this automatically.

Related