Hong Kong Digital Passport Photo Size and Requirements

The Hong Kong Digital Passport photo spec (hk-passport-digital) is a digital image of 1200 × 1600 px at 600 DPI, on a white (#FFFFFF) background.

Requirements at a glance

Size1200 × 1600 px (digital)
DPI600
Background colorwhite (#FFFFFF)
File size limitUp to 5120 KB
Sourceimmd.gov.hk
Last checked2026-11-02
Spec codehk-passport-digital

Frequently asked questions

What size is the Hong Kong Digital Passport photo?

It is a digital image of 1200 × 1600 px at 600 DPI. The dataset lists no printed size for this spec.

What background color does the Hong Kong Digital Passport photo need?

This spec uses a white (#FFFFFF) background.

What file size is allowed for the Hong Kong Digital Passport photo?

The file should be no larger than 5120 KB.

Can I use this spec with the IDPhoto.ai API?

Yes. Set specCode to "hk-passport-digital" in a POST /v2/makeIdPhoto request. The Passport Photo API reference describes the full request and response.

Make a photo with this spec

For people

Upload a portrait and get a photo prepared to this spec.

Make a photo with this spec

For developers

Send this spec code to the Passport Photo API.

curl -sS -X POST "https://api-us.idphotoapp.com/v2/makeIdPhoto" -H "Content-Type: application/json" -d '{"apiKey":"YOUR_API_KEY","apiSecret":"YOUR_API_SECRET","imageBase64":"BASE64_IMAGE","specCode":"hk-passport-digital","outputFormat":"IMAGE_BASE64"}'

Related specs

All photo specifications

IDPhoto.ai is an independent service and is not affiliated with any government agency. Rules change, so always check the issuing authority’s current photo rules before you submit a photo.