PNG renamed to JPG: why the portal still says no.
The short answer
A file's type is set by what is inside it, not by its name. Renaming photo.png to photo.jpg leaves a PNG with a .jpg name, and a portal that checks the contents can refuse it. Save or export the photo as a real JPEG instead. Some forms accept PNG, so check your form's file type first.
Do it now
What is inside a file
Every image file starts with a few fixed bytes that name its type. A PNG starts with 89 50 4E 47, which spells PNG. A JPEG starts with FF D8 FF. The name after the dot is only a label.
A portal that reads those first bytes sees a PNG whatever the name says. The file checker here does the same, so it tells you the real type.
Which forms want a real JPEG
| Form | File type the official page names |
|---|---|
| US visa (DS-160) and DV lottery | JPEG |
| India e-Visa photo | JPEG |
| OCI photo and signature | JPEG or JPG |
| Canada passport online renewal | .jpeg or .jpg |
| NZeTA photo | JPG or JPEG |
| Korea K-ETA | JPG |
| Vietnam e-visa | JPG or JPEG |
| China visa online | JPEG |
How a PNG gets a .jpg name
- A screenshot or a design app saves as PNG, and the name is changed by hand.
- A website offers a download named .jpg but serves another format.
- A phone photo is HEIC and the name is changed. That is a different format again.
How to fix it
- Run the file through the checker for your form. It shows the real type, not the name.
- If the type is wrong, add the photo to the tool for your form, or to the resize to KB tool. They save a new JPEG from the picture, so the contents match the name.
- Check the size and shape again. A new JPEG can come out bigger or smaller than the PNG.
Official sources
- Digital image requirements (U.S. Department of State)Checked 21 October 2026. Read through an Internet Archive copy captured 2026-01-09; the live page blocks automated browsers.
- Photo composition template (U.S. Department of State)Checked 21 October 2026. Internet Archive copy captured 2026-01-05.
- Photo requirements for U.S. visas (U.S. Department of State)Checked 22 October 2026. Internet Archive copy captured 2025-12-30.
- e-Visa document requirements (Government of India)Checked 21 October 2026. Read through an Internet Archive copy captured 2026-10-16; the live site did not load in our browser.
- OCI FAQ 9: photograph specifications (Ministry of Home Affairs)Checked 22 October 2026. Read through an Internet Archive copy captured 2026-10-09; the live site did not load in our browser.
- Requirement of photograph for OCI Registration (Ministry of Home Affairs, PDF)Checked 22 October 2026. Internet Archive copy captured 2026-09-24.
- Passport photos (Government of Canada)Checked 21 October 2026.
- NZeTA: Visa and NZeTA photos (Immigration New Zealand)Checked 23 October 2026. The "Visa and NZeTA photos" panel on the NZeTA page.
- K-ETA FAQ, Q23 and Q54 (Korea Immigration Service)Checked 23 October 2026. Q23 is on page 4 of the FAQ list.
- Vietnam e-Visa instructions (Immigration Department, Ministry of Public Security)Checked 23 October 2026. Step 1 of the declaration guide.
- Online visa application photo requirements (Embassy of China in Morocco, in Chinese)Checked 21 October 2026. Notice dated 2025-04-27.
- Visa photo requirements, print (Embassy of China in Togo)Checked 21 October 2026.
Questions
Can I just rename the file?
No. Renaming changes the label only. The bytes inside are still a PNG, and a portal that reads them will see that.
Does the US online passport renewal accept PNG?
Yes. The page lists JPG, PNG, HEIC or HEIF files between 54 KB and 10 MB.
Will converting to JPEG hurt the photo?
JPEG is lossy, so a very small file loses detail. Keep the quality as high as the size limit allows. The tools pick the best quality inside your range.