
Need to compress a passport photo to 240KB or an ID photo to 20KB? Here is how to resize and compress ID photos to exact pixel and file-size limits on a Mac.
Government portals reject ID photos for two opposite reasons: the file is too large to upload, or it was compressed so hard the face turned blocky. When you compress a passport photo or an ID photo for an online application, you are not just making a file smaller. You have to hit an exact pixel size, stay under a strict file-size limit, keep the required format, and preserve a clean background — all at the same time.
This guide covers the real requirements for common visa, passport, and exam photos, then shows how to resize and compress ID photos to those exact targets on a Mac. It is the ID-photo-specific companion to our general guide on compressing images to a specific file size.
Upload systems check ID photos automatically. Many reject the file before a human ever looks at it, based on three hard limits: the pixel dimensions, the file size in kilobytes, and the file format. Miss any one and the upload fails.
There is one distinction that saves a lot of confusion. A physical photo spec and a digital-upload spec are not the same thing:
The U.S. State Department, for example, lists a digital range of 54 KB to 10 MB for online passport renewal photos, while the paper application asks for a printed 2×2 inch photo with no file size at all. Canada does the same: its visa page gives only a physical 35×45 mm frame, while its online passport renewal page specifies a digital photo of 200 KB to 5 MB. Check which kind of spec your application actually uses before you touch the file.
Here are digital-upload requirements for widely used ID photos. Numbers change from year to year, so always confirm the current official spec for your specific application before you submit.
| Photo type | Pixel dimensions | File-size limit | Format | Background |
|---|---|---|---|---|
| US visa (DS-160) | 600×600 to 1200×1200 | ≤ 240 KB | JPEG | White / off-white |
| US passport (online renewal) | Not specified | 54 KB – 10 MB | JPG, PNG, HEIC | White / off-white |
| US DV Lottery | 600×600 | ≤ 240 KB | JPEG | White / off-white |
| Canada passport (online renewal) | 1800×1200 to 4500×3000 | 200 KB – 5 MB | Camera original | White / light |
| Canada visa | Physical 35×45 mm only | No digital limit | Printed photo | White / light |
| China postgraduate exam | 480×640 | around 20 KB | JPG | White |
| China civil service exam | 295×413 | ≤ 20 KB | JPG | White / light |
| China teacher certification | One-inch photo | ≤ 200 KB | JPG | White |
Two things stand out. The U.S. visa cluster caps files at 240 KB, which is easy to hit. China’s exam portals are far stricter: postgraduate and civil-service registration commonly demand 20 KB or less, which is the hardest target on this list and the main reason people search for a way to compress an ID photo to an exact size.
A note on a common error: the 600×600 to 1200×1200 pixel range belongs to the U.S. visa spec. The U.S. passport online renewal page does not state a pixel size at all. Third-party sites often copy the visa numbers onto passport instructions — do not trust a spec unless it comes from the official application page.
Zipic preserves the original aspect ratio and does not crop images. That is deliberate: it protects you from stretching a face. But it also means Zipic cannot turn a rectangular snapshot into a square 600×600 photo on its own — you have to get the framing and aspect ratio right first.
Before you resize, use a tool that crops (macOS Preview’s selection-and-crop, or a dedicated passport-photo app) to fix two things:
Once the photo has the correct ratio and framing, Zipic handles the exact pixel size and the file-size limit in one pass.
Open Compression Settings in Zipic, edit or create a preset, and set the target size under Resize. Width and Height default to Auto, which keeps the original size.
How you set the size depends on your crop:
One limit worth knowing: if your target is larger than the original, Zipic will not upscale the image. Start from a photo with enough resolution — shooting or scanning at a higher size and scaling down always looks better than stretching a small file up.
With the size set, the same preset controls compression and format. Set the Save Format to JPEG for most ID photos, since that is what visa and exam portals expect.
For file size, work down from a light setting rather than starting at the strongest one. Use compression level 2 or 3 first, add the photo, and check the result. If it is still over the limit, raise the level a step at a time until it fits. Over-compressing a face introduces blocky artifacts around the eyes and skin, and that is a common rejection reason — so stop as soon as the file is under the limit, not well past it.
Hitting a very small target like 20 KB is where pixel size does the heavy lifting. A 295×413 photo at JPEG can reach 20 KB with moderate compression, while a 600×600 photo would need much harsher settings for the same target. Resize to the smallest dimensions your spec allows, then compress — not the other way around. On Zipic Pro, the comparison preview lets you adjust compression strength and watch the face in real time, which makes it easier to find the point where the file is small enough but the face is still clean.
An ID photo has to pass all three checks, so confirm each one before submitting:
Space for Quick Look, which shows the pixel size, or check the info panel..png renamed to .jpg is still a PNG inside and will be rejected.Most rejections come down to a short list. Avoid these and the upload usually clears on the first try:
Full documentation: Image Compression Basic · Resizing Images · Image Save Options
Ready to hit an exact size without guesswork? Download Zipic and start with the free daily allowance. Every download includes a full 7-day Pro trial. Zipic Pro unlocks unlimited compression, the comparison preview for fine-tuning quality, advanced formats, and folder monitoring for larger batches.

Learn how to compress images on Mac with drag-and-drop, Finder, presets, format conversion, and batch automation while protecting originals and quality.

Need to compress an image to 50KB, 100KB, or 200KB? Learn the practical Mac workflow: resize first, adjust compression, and verify the output.

Resize images mac the right way: plan by longest edge, handle Retina 2x, batch sets with mixed orientations, and use Zipic's Auto aspect-ratio workflow.

Learn how to compress screenshots on Mac without losing readable text. Change the default format, batch optimize with Zipic, and auto-compress new captures.