Can I edit the background of a passport photo?
It depends on the office, and many say no. For example, the UK government’s rules for digital passport photos say the photo must be “unaltered by computer software” and taken “against a plain light-coloured background”. If your office has a rule like that, retake the photo against a plain light wall instead of editing it.