Drop your photo, get a 35×45-shaped JPEG at or under 500 KB — sized to pass the DGI&P portal’s own photograph checker as well as the stated 5 MB application cap. The crop and compression run in your browser; the photo is never uploaded anywhere.
Pakistani passport renewals filed online — including by overseas Pakistanis — go through the Directorate General of Immigration & Passports portal at onlinemrp.dgip.gov.pk, and its photograph instructions say: a photo 45 mm high by 35 mm wide, taken against a plain white background, no more than 6 months old, showing a close-up of your full head and shoulders with your face taking up 70–80% of the frame (that last figure is from the portal’s own photograph-capturing guide PDF). The page states a file cap of up to 5 MB — but keep reading, because the portal’s own checker enforces a much smaller number.
The same photo-requirements page embeds a Photograph Verification tool so you can test your photo before applying — and that tool refuses any file over 500 KB (“Size of the file must not be greater than 500KB”) and only accepts JPG or PNG, before sending the photo to an ICAO-compliance check. So the portal’s two published numbers disagree with each other by a factor of ten. The practical answer is simple: make the file at or under 500 KB and it satisfies both. That’s what this page is preset to — drop your photo, and PixFit crops it to the 35:45 shape and compresses it to 500 KB or less at the best quality that fits.
DGI&P publishes the size in millimetres, not pixels — neither the requirements page nor the PDF guide names a pixel resolution. The 700×900 preset here is a suggestion, not a rule: it is exactly the 35:45 shape (20 pixels per millimetre) and comfortably sharp for the compliance check. If your source photo is small, don’t upscale — type a smaller 7:9 size (say 490x630) into Exact size instead; upscaling invents no detail. Drag the crop preview so your full head and the top of your shoulders survive the crop — the guide wants the face filling 70–80% of the frame.
After the byte check, the portal verifies the photo is ICAO compliant, and its published rejection list is long: facing forward and looking straight at the camera, neutral expression with mouth closed, eyes open and free of glare, no glasses at all — the guide is explicit that eyes must be shown clearly with no glasses on, stricter than many countries — no red-eye, no shadows, natural skin tones, and nothing covering the face. Head coverings are permitted, but your face must be fully visible from chin to forehead with both edges shown. The guide also says photos must not be cut down from larger pictures or edited in software like Photoshop — that prohibition is about altering how you look (retouching, filters); cropping to shape and compressing to a byte cap is exactly what their own upload flow requires. PixFit only does the byte plumbing and never touches your face.
DGI&P states a no-refund policy on submitted applications, so it pays to run the portal’s own Photograph Verification on your resized file before you pay. The application also wants supporting documents and a fingerprint form scanned at 600 DPI, grayscale, JPEG per the portal’s document-upload guidelines — those are scans rather than photos, but if a scan comes out oversized, the compressor above will shrink a JPEG scan the same way (clear the Exact size field first so the scan keeps its own dimensions).
Apply only on onlinemrp.dgip.gov.pk — type the address rather than clicking an ad. A passport photo travels with your CNIC/NICOP details, so it shouldn’t detour through a random resizer’s server: PixFit re-encodes entirely in your browser, nothing is uploaded, and the re-encode strips EXIF metadata (including GPS) as a side effect. An iPhone HEIC can be dropped straight in — the output is a portal-ready JPEG. For neighbouring formats, see the Indian passport abroad page (the same 35×45 shape, expressed in pixels) or the full verified table.
Spec source: DGI&P’s own photograph requirements and Photograph Verification tool at onlinemrp.dgip.gov.pk/photo-requirements, and the portal’s photograph-capturing guide PDF, as read July 2026. These numbers change — if the upload screen disagrees, believe the portal.