About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Nov 2009»»
SMTWTFS
1234567
8910
11
12
1314
151617
18
192021
22232425262728
2930

Mailing List

My RSS Feeds








How to create a passport picture with a digital camera and gimp

posted 2005.08.29 Mon
A quick howto, since I recently had to do this. To create a digital photo for use with a passport you'll need the following:
  • digital camera
  • computer
  • software (I used Gimp though photoshop may work too)
  • tripod/or person to take picture
  • white background
Heres a link from the department of state that describes how to setup your place to take a picture. Here's another link from Singapore that describes what a "good" picture is (I'm assumming American standards are similar). (It appears that "good" means not smiling or having some "SPECIMEN" text in front of your face, take your pick) Probably the most important thing is the white background, so find some person who's renting an apartment and they are sure to have nice ugly white walls to take a picture against (mine worked perfectly). (I didn't use side flashes as my camera seemed to take a good picture without shadows with the builtin flash). Once you have everything set up to take a picture, make a really monotonous face and snap it. When you've got one that meets the standards (or has the text "SPECIMEN") you are ready to proceed to your nearest computer. Load up the passport4x6.png(below, right click->save as..., or drag the link over the gimp tool selector) in your photo manipulation software. The important thing is to keep the size as is (1200x1600), because the red box in the middle will be 2 inches (which is the size you need your pictures to be) if you develop this at 4x6 (no cropping).
Go to the layers dialog and duplicate this layer. Now drag your mugshot into the picture. (It will probably be the top layer.) Move your photo so it is between the red box images (the middle layer) using layer manipulation. (Otherwise when you scale your photo you won't be able to see the red box). Activate the layer with your photo in it (should be in the middle layer). Activate the scale tool (red box in below). Double click it to bring up the scale settings. Make sure that the "Keep aspect" radio button (green circle) is selected.
Now scale your face you that it is the same size as the face in the red box. (Here's a 500kb screenshot) You are now basically done, you can center the picture if you want. Remove the top layer (red box) and save your image as a jpg. Take to a photo kiosk and print two at 4x6. Cut out 2 inch square around your face, and you are done!

tags:            

links: digg this    del.icio.us    reddit




1. bozo left...
2007.06.04 Mon 8:15 pm

passport4x6.png is not 1200x1600 as you state. It is 1200 x 1800. Great idea. My first trip to the kiosk was unsuccessful. Still messing around with this and trying to make it work.


2. Karen left...
2007.10.24 Wed 9:17 pm

I liked the article. I recently found a website that will do all this for you, and even supports many different passport photo standard (for various countries): www.epassportphoto.com


3. Daniel left...
2009.01.23 Fri 8:32 am

thanks for the link for the free passport photo, saved alot of time. I am still gonna try to use gimp. IT feels good whe you DIY.


4. Ludovic left...
2009.08.26 Wed 9:41 am :: http://richmondtransits.blogspot.com

Tried this but could not make it work, probably because I tried the wrong resolution for the printer..

So I resorted to cropping it as explained and then dropped them picture in Powerpoint, resized and duplicated it to make several (they always want several).

Voila.