Skip to content

Instantly share code, notes, and snippets.

View nilsreichardt's full-sized avatar
🔥
Focusing

Nils Reichardt nilsreichardt

🔥
Focusing
View GitHub Profile
@nilsreichardt
nilsreichardt / make_passport_sheet.py
Created July 11, 2025 09:59
US Passport Image to German Passport Image
#!/usr/bin/env python3
"""
make_passport_sheet.py
Create a 10 × 15 cm print sheet containing six German-passport-size photos
(35 mm × 45 mm) from a square 2 × 2-inch source image.
Usage:
python make_passport_sheet.py input.jpg output.jpg --dpi 300
"""