Drop your photo, get a JPG under 3 MB — the thaievisa.go.th upload format for every Thai e-Visa type. The compression runs in your browser; the photo never leaves your device.
Thailand's official e-Visa portal (thaievisa.go.th, Ministry of Foreign Affairs) enforces a simple file rule at the photograph-upload step: JPG or JPEG only, smaller than 3 MB, at least 160 pixels tall, and the photo must be taken within the last six months. Those numbers come from the portal's own upload code — the exact messages it shows are “You can only upload a JPG/JPEG image file!” and “Upload Image must be smaller than 3MB!”. This page is preset to that spec: if your photo is already a JPG under 3 MB, upload the original to the portal untouched and close this tab; if it's a 5–10 MB phone photo or an iPhone HEIC, drop it here and PixFit gives you the best-quality JPEG that fits under the cap, at full resolution when possible.
Search results for this spec are a mess: one popular guide says max 1024 KB, minimum 500×352 pixels, 1200 dpi; a photo-tool site says less than 120 KB; a lookalike site styled as an embassy says 200 KB–2 MB at 350×450. None of that is what the current portal enforces. The only published pixel rule is the 160 px minimum height, and the only size rule is the 3 MB maximum — there is no minimum file size, so nothing needs padding, and no mandatory resolution beyond the floor exists. As always: if the upload screen in front of you says something different, the portal wins.
After upload, the portal runs an automated check against the ICAO photo standard and tells you when it fails: “The photo resolution is too low”, head not 70–80% of the frame, background not plain and light-coloured (“no spots, lines or curves”), eyes covered by hair or glasses glare, red-eye, or another person or object in the frame. Two practical consequences. First, don't crush the photo down to a few hundred kilobytes out of habit — 3 MB is generous, and PixFit keeps resolution as high as fits. Second, no file tool can fix composition: if the checker balks at framing or background, retake the photo rather than editing it. Note the background rule is light-coloured, per the portal's own wording — sites demanding strictly white are stricter than the source.
The other uploads in the application — passport bio page, proof of current location, and the documents your visa type requires — accept JPG, JPEG or PDF, also limited to 3 MB each. Photograph documents flat, in even light, with no glare across the machine-readable zone of the passport. If a scan lands over the cap, the same tool above compresses image files; for PDFs, use your scanner's smaller-output setting.
PixFit fixes format and bytes; it cannot judge the ICAO composition rules above, and it can't tell whether your photo is recent. The portal warns that an unsuitable photograph may result in rejection of the visa request, and the fee, once paid, is non-refundable — the portal's own words. Worth a minute against the example photograph the form links before you pay.
Two cautions. First: the only official application site is thaievisa.go.th — the space around it is crowded with agency and lookalike sites (including ones styled as embassies) charging a markup on the same application. Type the address rather than clicking an ad. Also check whether you need a visa at all: many nationalities enter Thailand visa-exempt for short tourist stays. Second: 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 (the portal takes JPG only). For other countries' formats, see the Vietnam e-Visa, Indonesia e-VOA and India e-Visa pages.