How to resize and compress a photo for a government upload portal
Updated 2026-09-22
Last checked: 2026-09-20. Verify with the official source before submitting.
Government portals reject photos for three reasons: the wrong format (HEIC or PNG where JPEG is required), the wrong shape or pixel size, or a file that is too large. The limits differ from one service to the next and are not always published, so this guide gives a method that works for any portal, with real examples whose sources are linked in the table.
Do not trust a number from a random blog, including this one, over what the upload form itself shows. If the form or its error message states a size, format or ratio, that is the rule. Where an authority has not published a pixel size, our guides say so rather than inventing one.
Requirements at a glance
| Requirement | Value | Source |
|---|---|---|
| Saudi Absher (ID photo) | JPEG, 1 MB or less, 2:3 ratio, colour with white background | Absher official X account |
| Kuwait PACI (photo form, non-Kuwaitis) | PDF, JPEG, JPG or PNG; 2 MB maximum; no pixel size stated | services.paci.gov.kw photo form (Arabic) |
| Bahrain LMRA (expatriate management system) | JPEG, 200 KB maximum; no pixel size stated | lmra.gov.bh (Arabic) |
| Bahrain ID card photo | 32.5 x 43 mm (3:4), at least 933 x 1244 px, .jpg, 2 MB maximum | services.bahrain.bh ID spec (PDF, Arabic) |
| US visa (digital photo) | JPEG, 600 x 600 to 1200 x 1200 px, 240 KB or less | travel.state.gov |
Open the tool with these settings
Type the limit in KB. HEIC is converted to JPEG and location data is removed.
Presets for Absher 2:3, the Bahrain ID card and common visas.
All tools linked here run in your browser; the photo is never uploaded to GivenTool.
Step 1: find the actual limits
Look for the rule on the service page, in the help text next to the upload button, and in the error message you get after a failed upload. Note the file format, the maximum file size (KB or MB), and any pixel size or ratio. If the service publishes nothing, a JPEG well under 1 MB with the usual portrait framing is the safest starting point, but it is not a guarantee.
Step 2: fix format, then pixels, then KB
Format first: convert HEIC from an iPhone to JPEG. Then pixels: if a size or ratio is required, resize or crop to it with the image resizer (presets exist for Absher 2:3, the Bahrain ID card and several visas). Last, file size: run the result through the image compressor with the limit typed in KB. Doing it in this order gives the sharpest photo at the smallest size, because resizing first removes pixels the compressor would otherwise have to squeeze.
- If the form says 1 MB, aim for about 950 KB: some systems count 1 MB as 1,000,000 bytes.
- Keep the original photo; you may need it again if the portal asks for a new upload.
Step 3: photo rules a file tool cannot fix
Background colour, lighting, glasses, head size and the age of the photo are checked by a person or by software after the upload. Absher, for example, lists filters and retouching among rejection reasons and asks for a white background. Take the photo against a plain light wall in even light; for printed passport photos with a head-size guide, use the passport photo maker.
Frequently asked questions
The portal does not say anything about size. What should I upload?
A JPEG in portrait framing, well under 1 MB, is accepted by most systems. If the upload fails, read the error message: it usually names the rule that was broken.
Why was my photo rejected even though the size was right?
Probably for the photo itself: a non-white or shadowed background, filters, glasses glare or an old photo. File tools cannot fix those; retake the photo.
Does compressing a photo make it look worse?
At the limits portals use (100 KB to 2 MB) a well-framed portrait stays sharp, especially if you resize it to the required pixels first.
Are my photos uploaded to this site?
No. The GivenTool resizer and compressor run in your browser; the only upload is the one you make to the portal.
This guide summarises published requirements for convenience. It is not legal advice and GivenTool is not affiliated with any government. The issuing authority's page is the only authoritative source.
Last checked: 2026-09-20. Verify with the official source before submitting.