35×45 mm · 413×531 px @ 300 DPI
Government photo-ID applications enforce strict pixel and millimetre specifications because rejection costs the applicant another visit and the issuing office processing time. Sri Lanka Passport / Visa Photo is the spec used for the Sri Lanka passport / visa photo standard; if your submitted image misses the dimensions or compression ceiling, the system flags it before a human sees it. This preset crops to 35×45 mm passport and exports 413×531 JPEG @ 300 DPI, matching the published guideline. Most rejections happen for one of three reasons: wrong physical dimensions, non-white background, or the source resolution was too low to upscale cleanly to 413×531 JPEG @ 300 DPI.
| Output dimensions | 413×531 pixels |
|---|---|
| Aspect ratio | 35:45 (35×45 mm passport) |
| Print size | 35×45 mm |
| Resolution | 300 DPI |
| Output format | JPEG @ 92% quality |
| Processing | 100% in your browser — no upload |
| Cost | Free, unlimited |
| Source | Official guidelines |
The Sri Lanka photo standard is administered by the Department of Immigration and Emigration (Sri Lanka). South Asia member states have generally aligned with the 413×531 px specification at 300 DPI, though local rejection criteria vary. The physical Sri Lanka passport book has a dark blue with the Lion-Pillar emblem in gold cover.
Where this preset's output is accepted: Sri Lankan passport, NIC (National Identity Card) renewal, and visa applications at Sri Lankan missions.
Travel-document context: Sri Lankan passport holders enjoy visa-free or visa-on-arrival access to 45 destinations, ranking 95th globally; the Department of Immigration and Emigration follows a 6-month photo-recency requirement strictly. The photo specifications described on this page apply to the document used for that travel.
Recent updates (2022-2025): Sri Lanka's 2022 economic crisis drove a record surge in passport applications, with the Department of Immigration and Emigration processing over a million applications annually since. The new biometric e-passport rollout began in 2024 with phased issuance through Battaramulla and regional offices.
Country-specific note: Sri Lankan passport photos require a plain light-coloured background — usually pale blue or white — and the photo must be no older than 6 months. Run this preset, then verify the result against the official guidelines linked in the specifications table above before submitting.
This preset is a deterministic recipe — every step has fixed parameters so the result is byte-identical across runs of the same input.
Sri Lanka Passport / Visa Photo crops your input to 35:45 and resizes it to 413×531 px as JPEG — a 219-kilopixel output. The work runs through canvas APIs and a WebAssembly image-encoder; the source image is decoded into an off-screen canvas, transformed in place, and re-encoded without any network upload.
Government photo-ID portals pre-validate the image dimensions before accepting upload; matching the spec exactly skips the rejection round-trip. The browser-side path also means the file never leaves your device — relevant when the input contains personally identifiable information, screenshots of private documents, ID scans, or proprietary product photography.
413×531 px at 300 DPI, saved as JPEG at quality 92%.
The Sri Lanka Passport / Visa Photo regulation specifies a printed photo of 35×45 mm. The pixel ratio matches the millimetre ratio so the image prints at the correct physical size when the file is opened at 300 DPI.
300 DPI is the print-grade resolution at which the dot pattern disappears at normal reading distance. Government photo offices, commercial print shops, and biometric scanners all assume 300 DPI; anything lower prints visibly soft.
The target accepts JPEG, and JPEG compresses photographic content 5-10× smaller than PNG with no visible difference at quality 92%. PNG is the right choice only when the image has hard edges or transparency — which photo-ID, social posts, and product photos don't.
No. This preset runs entirely in your browser using WebAssembly + canvas APIs — no server round-trip. You can verify this in your browser's network panel: only static asset requests, no image upload. The file never leaves your device.