---
title: Compress Passport & ID Photos to Exact Size Requirements
description: 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.
pubDate: 2026-07-04T00:00:00.000Z
author: Zipic Team
tags: ["passport photo", "ID photo", "image compression", "resize", "macOS"]
canonical: https://zipic.app/blog/compress-id-passport-photos/
source: https://zipic.app
---
# Compress Passport & ID Photos to Exact Size Requirements

> 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](/blog/compress-images-to-specific-size/).

## Why Passport and ID Photos Have Strict File Rules

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:

- **Physical specs** give a size in millimeters or inches (for example 35×45 mm, or 2×2 inch). These are meant for a photo you print and hand in. They say nothing about pixels or kilobytes, so there is nothing to compress.
- **Digital-upload specs** give a pixel range and a file-size limit in kilobytes. These apply when you upload a photo through an online portal — and this is the only case where resizing and compression matter.

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.

## Common Passport & ID Photo Size Requirements

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.

## Crop to the Right Aspect Ratio First

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:

- **Aspect ratio.** A 600×600 target needs a 1:1 crop. A 35×45 mm frame needs a 7:9 crop. Crop to the ratio your spec requires.
- **Head position and size.** Most specs require the head to fill a set percentage of the frame with a small margin above it. Get this right in the crop step.

Once the photo has the correct ratio and framing, Zipic handles the exact pixel size and the file-size limit in one pass.

## Resize to the Exact Pixel Dimensions

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.

<img src={resizeOptions.src} alt="Zipic resize settings for scaling a passport photo to exact pixel dimensions" class="rounded-lg" />

How you set the size depends on your crop:

- If the photo is already at the correct aspect ratio, set one dimension and leave the other on **Auto**. For a 600×600 target on a square crop, setting the width to 600 gives you 600×600.
- If you set both Width and Height, Zipic adjusts along the aspect ratio using one side as the reference, so a mismatched ratio will not produce exact numbers on both sides. This is why the crop step comes first.

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.

## Compress to the File-Size Limit Without Wrecking the Face

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.

<img src={presetOptions.src} alt="Zipic preset editor showing compression level and JPEG save format for an ID photo" class="rounded-lg" />

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.

<img src={saveFormat.src} alt="Zipic save format options set to JPEG for passport and ID photo uploads" class="rounded-lg" />

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.

## Verify Dimensions, File Size, and Format Before You Upload

An ID photo has to pass all three checks, so confirm each one before submitting:

- **Pixel dimensions.** Select the file in Finder and press `Space` for Quick Look, which shows the pixel size, or check the info panel.
- **File size.** Read the exact kilobytes in Finder or in Zipic's result list. If it is over the limit, reduce the longest side first, then add compression.
- **Format.** Confirm the extension matches the spec — a `.png` renamed to `.jpg` is still a PNG inside and will be rejected.

## Why ID Photos Get Rejected

Most rejections come down to a short list. Avoid these and the upload usually clears on the first try:

- **Over-compression.** Visible blocks or noise around the eyes, hair, and skin from pushing the compression level too far.
- **Wrong aspect ratio.** A stretched or squashed face because the photo was scaled instead of cropped to the required ratio.
- **File too large or too small.** Over the kilobyte limit, or compressed so aggressively it falls below a stated minimum.
- **Wrong format.** Uploading a PNG or HEIC where the portal requires JPEG.
- **Background problems.** A background that is not the plain white or light color the spec requires.
- **Outdated photo.** Many authorities require a photo taken within the last six months.

## Related Articles

- [Compress Images to Specific File Size (50KB, 100KB, 200KB)](/blog/compress-images-to-specific-size/)
- [How to Resize Images on Mac: Batch Resize Guide](/blog/resize-images-mac/)
- [How to Reduce JPEG File Size Without Losing Quality](/blog/reduce-jpeg-file-size/)
- [Batch Remove EXIF on Mac: Strip Metadata Before Publishing](/blog/strip-exif-data-mac/)
- [How to Compress Images on Mac](/blog/how-to-compress-images-on-mac/)

*Full documentation: [Image Compression Basic](https://docs.zipic.app/guides/image-compression-basic) · [Resizing Images](https://docs.zipic.app/guides/resizing-images) · [Image Save Options](https://docs.zipic.app/guides/configuring-save-options)*

---

Ready to hit an exact size without guesswork? [Download Zipic](https://zipic.app/Zipic.dmg) and start with the free daily allowance. Every download includes a full 7-day Pro trial. [Zipic Pro](https://zipic.app/#pricing) unlocks unlimited compression, the comparison preview for fine-tuning quality, advanced formats, and folder monitoring for larger batches.
