passport-photo icon indicating copy to clipboard operation
passport-photo copied to clipboard

Different Sizes

Open orientalsniper opened this issue 5 years ago • 3 comments

Can we please get an option to customize size? There are different size for different countries.

orientalsniper avatar Sep 30 '19 22:09 orientalsniper

Good idea. Which size do you need and which country?

patmood avatar Oct 06 '19 01:10 patmood

You can get an idea from this site: https://makepassportphoto.com/services.php

But I gathered the usual sizes for you:

Milimeter: 60x45 60x40 50x40 50x35 45x35 40x35 35x35 40x30 30x24

With 45x35 mm you can get about 8 prints in a 4"x6" if I'm not wrong.

orientalsniper avatar Oct 06 '19 05:10 orientalsniper

@patmood I am also interested in this, and happy to do a PR, is it a matter adding some UI to modify the size here? https://github.com/patmood/passport-photo/blob/master/pages/index.js#L26-L27 If that is the case I am thinking that potentially this could be straightforward for the single image, but might require some more calculation for the photo set to get them to fit in the 6 x 4 photo.

pietrop avatar Feb 14 '24 15:02 pietrop