Differences Between JPG and PNG Formats

Overview: Why file format matters for U.S. digital passport photos

The U.S. Department of State screens every uploaded photo with an automated compliance system that checks file format, pixel dimensions, file size, color profile, compression quality, and biometric visibility. Choosing the correct format is one of the simplest ways to avoid an automatic rejection.

What the rules say about JPG and PNG

The Department of State accepts JPEG (JPG) for all application types (online passport renewal, in-person passport submissions like DS‑11, U.S. visas, and the DV Lottery). PNG is accepted only for online passport renewal through MyTravelGov. When in doubt, use JPEG.

Key practical consequence

If you are submitting a visa application or a Diversity Visa (DV) Lottery entry, your photo must be a JPEG. Submitting a PNG in those programs will cause rejection.

File-size limits differ by program

For online U.S. passport renewal (MyTravelGov) the allowed file size range is 54 KB to 10 MB and you may use JPG, PNG, or HEIF. For U.S. visa applications and the DV Lottery there is a strict 240 KB maximum and only JPEG is accepted. Keep these program limits in mind when choosing format and export settings.

Pixel dimensions and aspect ratio apply to all formats

Regardless of whether you save as JPG or PNG, your image must be square (1:1 aspect ratio) and fall between 600 × 600 and 1,200 × 1,200 pixels. Any image outside this range will be automatically rejected.

Color profile and bit depth apply equally

All digital passport photos must be full‑color, 24‑bit, and saved in the sRGB color profile. Photos in AdobeRGB or Display P3 — even if they look correct on your screen — can shift skin tones and cause rejection.

Compression and image quality — why JPG settings matter

The image must preserve facial detail for biometric processing. Compression must not exceed a 20:1 ratio and the file must be free of visible artifacts (blockiness, blur, or pixelation). Aggressive JPEG compression to meet the 240 KB visa/DV cap is a common cause of automated rejections.

PNG acceptance does not mean other rules are relaxed

Although PNG is allowed for MyTravelGov passport renewal, every biometric rule still applies: white or off‑white background, neutral expression, no glasses, correct head size and position, recent photo (within 6 months), no filters or retouching.

Scanning printed 2×2 photos — format guidance

If you must scan a printed passport photo, scan at 300 DPI, crop to a perfect square, and ensure the final file complies with pixel size (600–1,200 px), color (sRGB, 24‑bit), and the required format for your program. Note: the guidance explicitly requires the final scanned file to be a JPEG for scanned originals.

When to choose PNG

Choose PNG only when you are submitting an online passport renewal via MyTravelGov and you have a reason to prefer PNG. There are no additional biometric advantages listed for PNG in the official rules — the same background, color, size, and expression requirements still apply.

When to choose JPEG

Choose JPEG when you are unsure, or when you are submitting anything other than MyTravelGov passport renewals. JPEG is the safest default because it is accepted by all U.S. systems (passport renewal, DS‑11, visas, and DV Lottery).

How to reduce file size without breaking rules

  • Keep pixel dimensions within the allowed range; to lower file size, use the minimum allowed size (600 × 600 px) rather than larger dimensions.
  • Avoid excessive JPEG compression (do not exceed a 20:1 compression ratio).
  • Do not use aggressive compression that introduces visible artifacts; biometric systems will reject blurred or blocky faces.

Export checklist before upload (actionable steps)

1. Confirm the target program (passport renewal, visa, or DV).

2. Check required format: JPEG for visas/DV; JPEG/PNG/HEIF for MyTravelGov.

3. Crop to a square 1:1 aspect ratio.

4. Set pixel dimensions between 600×600 and 1,200×1,200 px (use 600×600 if you need to reduce file size).

5. Convert and save in sRGB color profile and 24‑bit color.

6. Ensure file size meets program limits (54 KB–10 MB for passports; ≤240 KB for visas/DV).

7. Inspect the image for compression artifacts and facial detail clarity.

8. Verify biometric rules: plain white/off‑white background, neutral expression, no glasses, full face visible, taken within 6 months.

Common mistakes linked to format choice

  • Uploading PNG to a program that accepts only JPEG (visa/DV) — automatic rejection.
  • Compressing JPEG too aggressively to meet ≤240 KB (DV/visa), producing blocky or blurry facial features.
  • Saving in AdobeRGB or Display P3 instead of sRGB, shifting skin tones and causing rejection.
  • Using a screenshot, social media crop, or filtered image — format won’t save unacceptable biometric or background issues.

Troubleshooting “Invalid photo” messages

If the system returns “Invalid photo” without a clear reason, re‑check format, pixel dimensions, file size, and color profile first — these are the automated system’s primary checks. Then verify composition and biometric requirements (background, head size, expression, glasses, recency). Converting to JPEG and exporting in sRGB at 600×600 px is a reliable way to eliminate format/size/color causes.

Final recommendation

If you can use JPEG, use it: it’s accepted across all U.S. submission systems. Use PNG only when required/allowed (MyTravelGov passport renewal). Always prioritize keeping facial detail intact over aggressive compression, adhere to sRGB and pixel limits, and follow the biometric rules exactly to avoid automatic rejection.

Quick one‑page checklist (actionable)

  • Format: JPEG unless MyTravelGov passport renewal (JPEG/PNG/HEIF).
  • Pixels: 600×600 to 1,200×1,200 px (square).
  • Color: 24‑bit sRGB.
  • File size: Passport 54 KB–10 MB; Visa/DV ≤240 KB.
  • Quality: No visible compression artifacts; compression ≤20:1.
  • Biometric: White/off‑white background, neutral expression, no glasses, recent (<6 months), full face visible.

Following these format‑focused steps will prevent many common automatic rejections and help ensure your digital passport, visa, or DV photo passes both the technical and biometric screens on the first upload.