Pakistan Passport Photo Requirements
The size is the easy part. The thing that stops Pakistani passport and e-visa uploads is a ~60KB file-size cap.
A Pakistan passport photo is 35 x 45mm - 413 x 531 pixels at 300 DPI - with the head 29 to 34mm from chin to crown on a plain white background. The dimensions are the easy part. What actually stops applications is file size: Pakistan's online passport and e-visa portals often cap the uploaded photo at around 60KB, far below what a phone photo or studio scan produces, so a correctly-sized photo that is too heavy simply will not upload.
This covers the photo for a Pakistani machine-readable passport or e-visa. Because the size is the international standard, for how it travels see passport photo size by country.
What size is a Pakistan passport photo?
35 x 45mm, the international ID size, with the head measuring 29 to 34mm from chin to crown on a plain white background. At 300 DPI that is 413 x 531 pixels. The Directorate General of Immigration and Passports publishes the requirement for the online machine-readable passport system.
Why your photo will not upload
The usual reason a correctly-sized Pakistani passport photo gets refused is not the shape - it is the weight. Pakistan's online systems commonly limit the photo to about 60KB, and a normal phone or studio photo runs to several megabytes, which is tens of times over the limit. A printed photo for an in-person application can be larger; it is the digital upload that has to be small. That is why "resize to 35 x 45mm" on its own is not enough - the file also has to be compressed, without changing the pixel dimensions.
The same photo works for the e-visa
Pakistan's e-visa uses the same 35 x 45mm size and the same tight upload limit, so one correctly-made photo covers both. Get the shape, the pixel dimensions, and the roughly 60KB file size right once and it is ready for either portal.
How to make one that fits
The Pakistan passport photo maker does the two jobs the portal cares about at once: it crops to the 35:45 ratio with a drag-to-position box, resizes to exactly 413 x 531 pixels, and steps the JPEG quality down until the file lands near the 60KB limit, holding the pixel dimensions fixed while it does. Everything runs in your browser; nothing is uploaded.
Be clear about its limits. It sizes and compresses the file, but it does not add a white background for you - so start from a photo already taken against a plain white wall - and it cannot judge head height or expression. Check those against the official requirements yourself, and confirm the current rules for your specific application before submitting. For the reasons a photo gets bounced beyond file size, see why passport photos get rejected.
FAQ
What size is a Pakistan passport photo?
35 x 45mm, with the head 29 to 34mm from chin to crown, on a plain white background. That is 413 x 531 pixels at 300 DPI, which is what this tool outputs.
Why won't my photo upload to the Pakistan portal?
Usually the file is too big. Pakistan's online passport and e-visa systems often cap the photo at around 60KB, and a normal phone or studio photo is far larger. The photo has to be compressed to fit while keeping the 35 x 45mm dimensions.
Is the e-visa photo the same as the passport photo?
Yes - both use 35 x 45mm and the same tight upload limit, so one correctly-made photo covers both applications.
Does compressing to about 60KB ruin the quality?
At 413 x 531 pixels a plain-background head-and-shoulders photo compresses to a small JPEG without visible damage, because there is little fine detail for the compression to lose. The dimensions stay fixed; only the JPEG quality drops as far as needed.
Is my photo uploaded anywhere?
No. The crop, resize and compression all run in your browser using the Canvas API, so your photo never leaves your device.