So, I set him against a white wall, set the lights for no shadows and plugged them into this nifty site.
It gives you good directions on how to do it. Once you upload your picture, it helps you resize it so that the chin and forehead are in the correct position and dimensions .
This is what you get to download on your computer.
Then I printed it out on glossy photo paper from my printer.
And now, did it pass the test? We submitted the application with one of these photos cut out and attached to the paperwork. And this particular government agency accepted it. I am sure if they accepted it, then it would pass for a passport as well and any other purpose you would need this for.