I have had success with online visa photo websites. (The one I used was epassportphoto.com but there are others.) You just take a selfie with your smartphone camera and upload it to the website, tell them what country's specs you want, and then they crop it to the right size and make sure the lighting is OK and then send it to a CVS for printing where you can pick it up. (You do have to cut it out yourself using scissors, but they provide the lines to cut along.) It costs on the order of $10-20, similar to what a photo shop would charge. I applied for a Chinese visa with the resulting photographs and the consulate accepted them without complaint or comment.
Note: I have no affiliation with any of these websites.