Why your passport photo upload keeps failing on file size
Pixel minimums and kilobyte maximums pull in opposite directions. Here is how the limits work and how to satisfy both.
Government upload forms usually enforce two constraints at once: a minimum pixel dimension, so the photo is detailed enough, and a maximum file size, so their systems are not overloaded. These constraints work against each other, and the error messages rarely explain which one you failed.
The US case: 600 pixels minimum, 240 KB maximum
A US passport photo upload must be at least 600 by 600 pixels and no more than 240 KB. A 600 by 600 JPEG saved at high quality from a phone will often land between 300 and 500 KB, which fails. Saved too aggressively, it becomes blocky and can be refused for quality.
The answer is to find the highest JPEG quality that still fits under 240 KB, rather than guessing a quality setting. That is a search problem, and it is exactly what our exporter does automatically.
Minimum file sizes are real too
Some portals set a floor as well as a ceiling. Chinese visa uploads must be between 40 KB and 120 KB. Indian e-Visa uploads must be at least 10 KB. A well-optimised small photo can genuinely come in under the floor and be rejected for being too small, which feels absurd but happens.
The DPI trap for printed photos
There is a separate, quieter problem with printing. When a browser exports a canvas to JPEG it writes a pixel density of 1 by 1 with no units, meaning the file carries no physical size. Printers and photo labs then apply their own default scaling, and a photo that was pixel-perfect comes out at the wrong physical size.
The fix is to write a real DPI value into the JPEG header. We patch the JFIF density fields on export, so a 50 by 70 mm photo prints at 50 by 70 mm.
A checklist for digital submissions
- Confirm the minimum and maximum pixel dimensions for your specific form.
- Confirm the minimum and maximum file size in kilobytes.
- Check whether the form demands a square image, as US forms do.
- Export as JPEG unless the form explicitly accepts PNG.
- Keep the original photo, so you can re-export at different settings without losing quality.
Ready to make your photo?
Free, no watermark, and your photo never leaves your device.
Written by the GetNorthPath team. Photo specifications change, so confirm the current requirements with the issuing authority before submitting. See the full requirements guide.
More guides
The photo is the easy part. We handle the other 40 documents.
GetNorthPath prepares every IRCC form from your documents, flags mismatches before you submit, and has an experienced consultant review the whole file. One flat price of $299 CAD instead of the $2,000 to $5,000 a traditional firm charges.
Free 30-minute call. No credit card. Photo tool stays free either way.