Drop your photo (or your passport bio-page shot), get a JPEG comfortably under the Royal Oman Police portal’s 512 KB cap at the best quality that fits. Everything runs in your browser — the file never leaves your device.
Oman's eVisa runs on the Royal Oman Police portal (evisa.rop.gov.om), and its official FAQ publishes exactly one file rule: “File size for passport and picture: Not more than 512 KB.” That single number covers both uploads — your personal photo and the passport-page image. That's it. No pixel dimensions, no DPI, no background colour, no file-format list, and no minimum size appear anywhere public on the portal. This page presets a 480 KB target — comfortably under 512 KB in every way a computer might count kilobytes (some systems enforce 512,000 bytes, others 524,288; a 480 KB output passes both readings). Since there is no minimum, nothing ever needs padding.
512 KB is an unusually low cap for a portal that accepts phone photos: a typical modern phone picture is 2–4 MB, and a flat photo of a passport page often more. So nearly every applicant has to compress — and the common advice of “send it to yourself on WhatsApp to shrink it” is quality roulette. PixFit binary-searches the encoder so you get the best quality that still fits under the cap, deterministically, with the full resolution kept whenever it fits.
Search results for this spec are a museum of invented numbers: one site sells “40×60 mm (600×400 pixels)” as “official photo specifications”, another says “944×1417 pixels at 600 DPI with a blue background”, a third “more than 350 pixels each side, no more than 200 KB”, others “20–200 KB” or “minimum 600×600”. None of those figures appear on the official portal; several directly contradict the one number that does (the 512 KB cap). This page deliberately presets no exact dimensions: a normal passport-style portrait — recent, front-facing, plain light background, head and shoulders filling most of the frame — is the sensible target, and if the upload screen in front of you states specific numbers, the portal wins. JPEG is the safe format choice everywhere.
The same 512 KB rule applies to your passport bio-page upload, and it's usually the harder one: a sharp photo of a passport page is detail-dense and compresses worse than a face on a plain background. Drop it in here the same way — but don't crop away the edges of the page to save bytes, and make sure the two machine-readable lines at the bottom stay legible and glare-free after compression. If a page scan still looks soft under 512 KB, re-shoot it flatter and closer rather than compressing harder.
Worth knowing from the same official FAQ while you're at it: your passport should be valid at least 6 months prior to entering Oman; the portal recommends lodging the application at least 4 days before travel; the approved e-visa is sent to your registered e-mail (and paying does not by itself guarantee approval); and an issued visa must be used within 1 month (unsponsored and express visas) or 3 months (sponsored tourist visas) of issue. Anybody can fill and submit the application on someone else's behalf — useful for family trips.
The official application site is evisa.rop.gov.om, with the file rule in its official FAQ. The space around it is crowded with unofficial “Oman eVisa” sites charging a markup on the same form — several of the invented specs above come from exactly those sites — so type the address rather than clicking an ad. And a visa photo travels with your passport details, so it shouldn't detour through a resizer's server: PixFit re-encodes entirely in your browser, nothing is uploaded, and the re-encode strips EXIF metadata (including GPS) as a side effect. An iPhone HEIC can be dropped straight in — it comes out as a JPEG under the cap. For other countries' formats, see the Saudi eVisa, India e-Visa and Thailand e-Visa pages, or the full verified table.