Many people think that they can upload any photo, and the portal will accept everything. In fact, the rules are strict. Now the mandatory size is 600 by 600 pixels, JPEG only, weight up to 240 kb. The background must be white, the head should take up 50 to 69% of the frame, the eyes should be at about 60% of the bottom edge. Glasses are strictly prohibited. All this is described in detail here: passport photo requirements 2025
https://digital-passport-photo.com . There is a list of all 16 rules that the system checks. I took a photo at home - I just stood near a white wall, put the phone on a tripod, took a few shots and then cropped to the desired format. The main thing is not to use filters and not to upload HEIC files from an iPhone, only JPEG.