This program generates a set of standard passport- or visa-sized photos that can be printed on a regular 4x6 inch-sized photo paper.
Photo sizes that are supported:
1 inch (38x25mm); big 2 inch (53x35mm); small 2 inch (48x33mm);
2 inch square (50x50mm)
User direction:
Specify photo type, photo resolution (optional)
The main function is PrintPassportPhoto.m, select the source photo,
Then this software will output a picture that is suitable for printing on a 4x6-inch-sized photo paper.
You can print it out at a local or online store, which costs less than 15 cents and get 4-12 ID photos.
NOTE: you must choose the 4x6-inch-sized photo paper!
After the 4x6 photo is done, cut the photo into small ID photos.
Input Values:
PhotoType:
'1': 1 inch: 38x25 mm
'2b': big 2 inch: 53x35 mm
'2s': small 2 inch: 48x33 mm (for Chinese passport)
'sq2' 2 inch square: 50x50 mm (for USA visa)
default format is 'sq2'
PhotoReso = [Height, Width] in pixels
default resolution: 1200x1800 pixels
Photo paper size is 4x6 inches. This can not be modified
Author: Zhen Qian (email: zhqian@gmail.com)
10/27/2009 All rights reserved
|