Your photo never leaves this device · No upload
CAVALKID

Our methodology

The editor loads MediaPipe Face Landmarker and WebAssembly assets from this site. The face mesh uses 468 base facial landmarks, with additional iris points when supplied by the model. Eye centres estimate roll, while chin and estimated crown positions guide head height and crop placement. These are image-based estimates, not identity recognition or a certified three-dimensional pitch/yaw measurement.

ICAO Doc 9303 Part 3 and ISO/IEC 19794-5 provide background for facial image geometry and quality. US Department of State passport, DS-160 and Diversity Visa instructions must be checked separately: printed and digital requirements are not interchangeable. Neither standards certification nor universal compliance is implied by a preset. A directory default must not be interpreted as an official head-height or file-size requirement.

Canvas maps the selected crop to output pixels. The JPEG exporter searches quality settings while preserving those dimensions, then writes 300 DPI JFIF density metadata and checks the final byte size. It reports an error when the limit cannot be met. General compression utilities can reduce resolution. Printing software must still use actual size; density metadata does not add image detail.

Lighting, blur and geometry checks are advisory. Hair can obscure the crown, glasses can create reflections and low resolution can destabilize landmarks. Inspect the exported file yourself. Authorities that require certified digital delivery may not accept a self-generated file.

Every requirement page is generated from the same rule dataset that powers the editor presets, so the numbers a page presents and the crop the editor performs come from one source. When a page and an official source disagree, the page keeps its documented value until a correction is verified, and the reference link stays visible so you can compare the two directly.

Reading a format

Every format page lists two separate properties: the physical size in millimetres and the digital target in pixels. Use the physical size for a paper submission and the pixel target for an upload. The 300 DPI figure describes how the editor exports a file, not a requirement of the receiving service. Before preparing anything, check which channel your application actually uses.

Head size and background

Head-height ranges are recorded as percentages of the frame height; where both ends exist, the page also converts them to millimetres. That conversion is arithmetic on directory data, not a new measurement from an authority. A correct frame does not make a wrong background or a tilted head acceptable, so treat unspecified fields as unknown until you confirm them.

File size versus resolution

A byte limit and a pixel size are different constraints. A JPEG with the right width and height can still be too heavy, and a tiny file can have lost the detail an inspector needs. Check the downloaded file properties, zoom into the eyes and edges, and keep the original so you never recompress an already compressed copy.

Choosing a preparation path

Document pages link to the editor preset and to the size tools that share the same frame. A matching size does not prove that another document has the same rules, so open the page for the document you are actually applying for instead of reusing a file prepared for a different one.

Sources and their limits

Most directory values come from a third-party reference directory and are labelled as not officially verified. Where an official page is linked, it is the place to confirm current requirements. If the two disagree, the official source wins, and a correction report helps keep the directory accurate.

From landmarks to a crop

Once the face landmarks are found, the editor derives a few key measurements: the centre point between the eyes, the angle of the line joining them, the chin position and an estimated crown above the forehead. The selected preset defines where the eye line should sit and how tall the head should be within the output frame. The editor scales and positions the crop so that these measurements match the targets as closely as the source allows, rotating slightly to level the eyes. When the source is framed too tightly, it reports the shortfall instead of inventing missing pixels.

How the byte-limit search works

JPEG file size depends on the quality setting, but not in a perfectly predictable way, because detail, noise and background all affect compression. The exporter therefore encodes the image at different quality levels while keeping the pixel dimensions fixed, narrowing the range step by step until it finds the highest quality that still fits within the limit. Each candidate is measured by its real byte count, not by an estimate. If even the lowest usable quality exceeds the maximum, or a required minimum size cannot be reached honestly, the exporter reports an error.

Reviewing and correcting directory values

Most directory entries start from a third-party listing and are labelled as not officially verified. Where an official page is known, it is linked so the value can be compared. When a reader reports a difference, the report is checked against the current authority source before anything changes; an accepted correction updates the shared rule dataset, so the requirement page and the editor preset change together. Reports without a source are noted but not applied on their own. A visible note on the affected page records that the value was corrected.

Content reviewed:

Contact and support