r/coolgithubprojects • u/No_Product_5759 • 2h ago
Passport Photo Tools: open-source browser tools for checking and preparing visa photos
https://github.com/developeron29/passport-photo-toolsI built Passport Photo Tools, a small MIT-licensed project for checking and preparing passport and visa photos in the browser.
The checker covers 25 documents, including DS-160, US passport, UK online passport, Canada, Schengen, Indian passport and OCI, and China visa. It checks file format, dimensions, file size, background, head size, centring and tilt.
It also includes a DS-160 photo fixer, a compressor for upload size limits such as 240 KB for DS-160 and 200 KB for OCI, HEIC-to-JPG conversion, signature resizing, a child passport photo checker, and a 4×6 print sheet maker.
The project is plain HTML and JavaScript with no build step. Photos are processed in the browser and aren’t uploaded. You can run it from a static server.
Source: https://github.com/developeron29/passport-photo-tools
Try it: https://developeron29.github.io/passport-photo-tools/
The checks are estimates; the issuing authority makes the final decision. I also run visaphotos.app, which the README links as a separate paid service. This repository is free and open source. I’d welcome feedback on the checks or the project itself.