<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: bd chai</title>
    <description>The latest articles on DEV Community by bd chai (@passportsizephoto).</description>
    <link>https://dev.to/passportsizephoto</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4207377%2F81b659a0-3b48-41e4-94b6-87e581588826.png</url>
      <title>DEV Community: bd chai</title>
      <link>https://dev.to/passportsizephoto</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/passportsizephoto"/>
    <language>en</language>
    <item>
      <title>What 530+ Passport Photo Specs Across 175+ Countries Taught Us About Data Messiness</title>
      <dc:creator>bd chai</dc:creator>
      <pubDate>Sun, 25 Oct 2026 22:16:43 +0000</pubDate>
      <link>https://dev.to/passportsizephoto/what-530-passport-photo-specs-across-175-countries-taught-us-about-data-messiness-18ac</link>
      <guid>https://dev.to/passportsizephoto/what-530-passport-photo-specs-across-175-countries-taught-us-about-data-messiness-18ac</guid>
      <description>&lt;p&gt;If you've ever assumed passport photos are the same everywhere - they're not.&lt;/p&gt;

&lt;p&gt;Building &lt;a href="https://www.passport-size-photo.com/" rel="noopener noreferrer"&gt;Passport Size Photo&lt;/a&gt; meant cataloguing photo requirements for 175+ countries, and the deeper we dug, the messier it got. A few things that surprised us:&lt;/p&gt;

&lt;h2&gt;
  
  
  There is no such thing as "a standard photo"
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The US wants 2x2 inch (51x51mm). Most of the EU asks for 35x45mm. Plenty of countries have their own variants - and the same country often uses different specs for visas, residence permits and ID cards.&lt;/li&gt;
&lt;li&gt;Head height ratios differ. A photo can be the right overall size and still get rejected because the head is too small or too large within the frame.&lt;/li&gt;
&lt;li&gt;Print resolution expectations differ too - some applications explicitly want 300 DPI, others 600 DPI.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's why the tool ended up supporting 530+ photo specs: every mismatch in size, head position, background or DPI is a rejection waiting to happen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compliance is more than size
&lt;/h2&gt;

&lt;p&gt;ICAO publishes guidance for biometric photos - head positioning, neutral expression, uniform background, no shadows on the face. A perfectly sized crop can still fail because of glasses glare or a shadowed background. Automated compliance checks catch these issues before you print anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we learned along the way
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Requirement data is scattered across government PDFs and consulate pages, and formats change without much notice.&lt;/li&gt;
&lt;li&gt;Specs get quietly updated, so a static lookup table rots fast.&lt;/li&gt;
&lt;li&gt;Validation matters twice: once at crop time (size, head ratio) and once at export time (DPI).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to compare specs side by side, or just need a correctly sized photo for your next application, &lt;a href="https://www.passport-size-photo.com/" rel="noopener noreferrer"&gt;Passport Size Photo&lt;/a&gt; handles cropping and compliance checks for 530+ specs across 175+ countries. Preview is free (watermarked), and a 4.99 USD pass unlocks 24 hours of unlimited downloads at 300/600 DPI.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
