DPI is a print instruction, not a quality setting
A JPEG has no DPI. It has pixels. DPI is a number written into the file's metadata that tells a printer how densely to lay those pixels down. The same 600×600 file prints at 2×2 inches at 300 DPI, or at 1×1 inch at 600 DPI.
So when a specification says "35×45 mm at 300 DPI", it is really asking for 413×531 pixels. That is the number that matters. Our studio computes it for you and writes the DPI tag so a print shop does not shrink the photo.
The pixel numbers you will actually need
At 300 DPI, the common formats come out as:
- 35×45 mm → 413×531 px
- 2×2 inch (51×51 mm) → 600×600 px
- 33×48 mm → 390×567 px
- 50×70 mm → 591×827 px
- 40×60 mm → 472×709 px
Uploading a 413×531 file that is 20 KB is fine for most forms — they check pixels, not weight. But some portals (China's COVA, India's e-visa) enforce both a minimum and a maximum byte count, and a heavily compressed file can fall under the minimum.
Why the US form stops at 240 KB
The DS-160 photo upload is a 1990s-era pipeline with a hard 240 KB cap. It also requires at least 600×600 pixels. That combination — large pixels, small file — forces compression, and aggressive JPEG compression produces blocky artefacts around the eyes and hairline.
The trick is to compress in the right order: crop to the final pixel size first, then reduce quality in small steps, checking the byte count each time. Compressing a 4000 px original down to 240 KB and then cropping throws away detail twice.
Our studio does the binary search for you: it renders at the exact final size and steps JPEG quality down from 0.92 until the file fits, never below 0.6.
Format: JPEG almost always, PNG almost never
Every major portal accepts JPEG. A few accept PNG, but PNG files are 5–10× larger and will blow through a 240 KB cap instantly. Never upload a HEIC straight from an iPhone — convert it first, because most government portals cannot read it.
A note on enhancing the photo
Brightness and contrast correction is normal and accepted. AI upscaling, face smoothing, background replacement and "beautify" filters are not — they alter biometric features and are grounds for refusal. If the original is too dark, reshoot; do not try to rescue it with software.