I had similar problems trying to get my drivers licence accepted for a covid licence application online. I tried all the things that you have been trying including taking a photo outside in daylight. I seems that the scanners at the other end need to be able to read any script or stamp which is overlaid on you photo. I my case the dark date of birth, printed in black, were not showing up because I had on a dark jacket in the image. I altered the brightness levels in file explorer edit facility after taking a camera image outside with no flash. Took me all day to figure out, and nearly drove me mad, because I needed it pronto.