US 2×2 inch (600×600 px), the 35×45 mm size used by Nepal, India, the EU and many other countries, and 35×35 mm, all exported at 300 DPI.
Is my photo uploaded anywhere?
No. Cropping and resizing happen in your browser with the canvas API; the photo never leaves your device.
Does it meet official requirements?
It produces the correct dimensions and resolution, but you are responsible for background, lighting and pose rules, so check your issuing authority's guidelines.