Requirements at a glance
| Size | 25 × 35 mm (0.984 × 1.378 in) |
|---|---|
| Pixels | 295 × 413 px |
| DPI | 300 |
| Background color | white (#FFFFFF) |
| File size limit | Up to 1024 KB |
| Source | Pending verification |
| Last checked | Pending |
| Spec code | 25x35-mm |
Frequently asked questions
What size is the 25x35 mm photo?
It is 25 × 35 mm (0.984 × 1.378 in). The digital file is 295 × 413 px at 300 DPI.
What background color does the 25x35 mm photo need?
This spec uses a white (#FFFFFF) background.
What file size is allowed for the 25x35 mm photo?
The file should be no larger than 1024 KB.
Can I use this spec with the IDPhoto.ai API?
Yes. Set specCode to "25x35-mm" in a POST /v2/makeIdPhoto request. The Passport Photo API reference describes the full request and response.
Make a photo with this spec
For developers
Send this spec code to the Passport Photo API.
curl -sS -X POST "https://api-us.idphotoapp.com/v2/makeIdPhoto" -H "Content-Type: application/json" -d '{"apiKey":"YOUR_API_KEY","apiSecret":"YOUR_API_SECRET","imageBase64":"BASE64_IMAGE","specCode":"25x35-mm","outputFormat":"IMAGE_BASE64"}'
Related specs
IDPhoto.ai is an independent service and is not affiliated with any government agency. Rules change, so always check the issuing authority’s current photo rules before you submit a photo.