Just take a decent neutral photo, don't try and turn it into a passport photo with software. If you have a clean shot of the face, it's virtually impossible for it not to work.
That said, the Passport Service have said they've been having problems with online services on and off for about 10 days.