Validating Passport Photos for 3 of the Strictest Government Portals (India, China, US) Passport photo validation looks like a solved problem. Crop to the country spec, slap on a white background, save as JPG. Done. Then you start submitting to actual government portals and discover that each one has its own undocumented edge cases that reject otherwise correct photos. The crop is right. The background is right. The portal still rejects. I run a free browser-based passport photo tool covering 85+ countries. Building country-specific validation has surfaced some genuinely strange constraints. Here are the three that taught me the most: India's Sarathi/Parivahan, China's COVA, and the US DS-160. India: Sarathi and Parivahan portals The Indian Ministry of Road Transport and Highways runs two portals for driving licenses and vehicle registration: Sarathi (for citizens) and Parivahan (the umbrella service). Both accept passport-style photos for license applications.…