Print ID photo on 4x6 photo paper

Version 1.0.0.0 (59.1 KB) by Zhen Qian
Print your passport or visa or other ID photos on a 4x6-inch-sized photo paper
1.3K Downloads
Updated 27 Oct 2009

View License

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

Cite As

Zhen Qian (2026). Print ID photo on 4x6 photo paper (https://www.mathworks.com/matlabcentral/fileexchange/25665-print-id-photo-on-4x6-photo-paper), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0