Don't waste your time and the $4.00, the passport office will not except photos from photo booths.
Save yourself lots trouble by going to a real photo store like Japan Camera, Ginn Photo or Rochester Photo(in Chinatown, you can speak Chinese there too).