Metadata-Version: 2.4
Name: visareadynow-passport-specs
Version: 1.0.0
Summary: Official biometric passport and visa photo size specifications (35x45mm, 2x2 inch) for 190+ countries.
Home-page: https://visareadynow.com
Author: VisaReadyNow
Author-email: VisaReadyNow <support@visareadynow.com>
Project-URL: Homepage, https://visareadynow.com
Project-URL: Documentation, https://visareadynow.com
Project-URL: Source, https://github.com/sandeepmaddheshiya/visareadynow-passport-specs
Keywords: passport-photo,visa-photo,photo-resizer,biometric-photo,passport-photo-size
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: home-page
Dynamic: requires-python

# visareadynow-passport-specs

Official biometric passport and visa photo size specifications (35x45mm, 2x2 inch, 50x70mm, 33x48mm, 50x50mm) for **190+ countries worldwide**.

Powered by [VisaReadyNow - Official Passport Photo Generator](https://visareadynow.com).

## Features

- 🌍 **190+ Countries Supported**: Exact specifications for US, Canada, UK, Australia, Schengen Europe, India, China, Japan, UAE, Brazil, and more.
- 📐 **Dual Document Support**: Query specs for both `passport` and `visa` photos.
- 📏 **Multi-Unit Output**: Dimensions provided in millimeters (`mm`), pixels (`px`), and inches (`in`).
- 🎨 **Biometric Rules**: Background color requirements, DPI, file format, max/min file size, glasses policy, and face height ratios.

## Installation

```bash
pip install visareadynow-passport-specs
```

## Quick Start

```python
from visareadynow_passport_specs import get_passport_spec

# Get US Passport Spec (2x2 inches / 51x51 mm)
us_passport = get_passport_spec("US", "passport")
print(us_passport)
"""
{
    'country': 'United States',
    'country_code': 'US',
    'document_type': 'passport',
    'width_mm': 51,
    'height_mm': 51,
    'width_px': 600,
    'height_px': 600,
    'width_inches': 2,
    'height_inches': 2,
    'background_color': 'white',
    'dpi': 300,
    'file_format': 'JPEG',
    'file_size_min_kb': 100,
    'file_size_max_kb': 240,
    'glasses_allowed': False,
    'label': '51 × 51 mm'
}
"""

# Get France Schengen Visa Spec (35x45 mm)
france_visa = get_passport_spec("FR", "visa")
print(f"France Visa: {france_visa['width_mm']}x{france_visa['height_mm']} mm")
```

## Official Online Generator & Specs Database

For full online photo resizing, automatic background removal, and biometric compliance verification, visit:

👉 **[https://visareadynow.com](https://visareadynow.com)**

## License

MIT © [VisaReadyNow](https://visareadynow.com)
