What this page does
It removes the room behind a head-and-shoulders photo and replaces it with white or light gray. That is the part people need before they print. It does not measure the head, set the chin height, or resize the file to a country's millimetre rules.
Stand in front of a plain wall when you can. Hair against a busy curtain is where the edge goes soft. Glasses are kept; glare on the lenses is not removed.
Check the result at full size before you rely on it for an application. Official photo rules also cover expression, glasses, and how recently the picture was taken. This tool does not check those rules.