Code covered by the BSD License  

Highlights from
Print ID photo on 4x6 photo paper

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 59.15 KB File ID: #25665
image thumbnail

Print ID photo on 4x6 photo paper

by Zhen Qian

 

27 Oct 2009

Print your passport or visa or other ID photos on a 4x6-inch-sized photo paper

| Watch this File

File Information
Description

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

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing Zhen Qian 28 Oct 2009 09:20:14
photo manipulation Zhen Qian 28 Oct 2009 09:20:14
print picture Zhen Qian 28 Oct 2009 09:20:14
id picture Zhen Qian 28 Oct 2009 09:20:14
visa picture Zhen Qian 28 Oct 2009 09:20:14
passport picture Zhen Qian 28 Oct 2009 09:20:14

Contact us at files@mathworks.com