How Passport Photo Generation Works
AnyTool creates ID photos by cropping and resizing images to match official specifications for passports, Aadhaar cards, PAN cards, and visas. The tool uses Canvas API for precise pixel-level resizing with pica for high-quality downsampling.
- Indian passport: 3.5 x 4.5 cm (413 x 531 px at 300 DPI)
- Aadhaar card: 3.5 x 4.5 cm
- PAN card: 25 x 35 mm
- US visa: 2 x 2 inches (600 x 600 px)
