Hey! I’ve actually used an online tool for this
https://photogov.net/documents/dv-lottery-photo-tool/. It’s really straightforward: you just upload a selfie, and it automatically formats the photo to meet all US Embassy requirements for the DV Lottery. I did it at home in just a few minutes, and the photo was accepted without any issues. Totally recommend it if you want a fast and hassle-free solution!