Hong Kong Passport

Government-spec dimensions, head positioning, and file constraints.

Pixel size
472 × 591 px
Print size
40 × 50 mm · 300 DPI
Background
white#FFFFFF
Face height
64–72% · target 68%
Eye line
54%66% from bottom
File size limit
40 mm · 472 px50 mm · 591 px
Face height: 64%–72% (target 68%)Eye line: 54%–66% (target 60%)

Note: HKSAR passport photo; 40x50 mm; head 32-36 mm; white background

Credit card · 85.6 × 54 mmPrint · 40 x 50 mm
Visual proportions, not actual size — depends on viewport DPI.
03 — Compliance engine

Live validation
against the actual rulebook.

Every crop is measured against the published tolerance ranges for the selected document. Pass or warn, in real time — no "submit and hope."

VALIDATOR · HK_PASSPORTALL CHECKS PASS
Dimensions
472 × 591 px
exact
472×591
Face height
64% – 72%
target 68%
68%
Eye line
54% – 66%
target 60%
60%
Background
white
ΔE < 3
#FFFFFF
File size
JPEG q=92
182 KB
Sharpness
no motion blur
Laplacian var
1,284

The same checks the authority will run — before you submit.

  • Face height & eye line measured from the pupil midpoint with sub-pixel accuracy, clamped to the tolerance range your authority publishes.
  • Background colour checked across a sampled grid — catches gradients and fringe from poor segmentation (ΔE < 3 against spec).
  • File-size ceiling enforced per-spec — recompressed silently for sub-60 KB e-visa portals, lossless for print.
  • Sharpness & expression guards warn on blur, closed eyes, or non-neutral expressions before you export.

Process this in your browser

No install. Photos stay on your device. $2.99 per photo, watermark-free.

Open in browser

Shoot once. Ship anywhere around the world.

SpecSnap is free to download. Try it on the next passport renewal, visa application, or driving-licence form sitting in your inbox.