{
  "checkedAt": "2026-11-26T01:55:13.955Z",
  "product": "https://picmilo.com/en/ (live, 2026-11-26, production deployment 48495f5f, commit 02a0d00)",
  "input": {
    "file": "/assets/sample-portrait.jpg",
    "width": 800,
    "height": 1422,
    "rights": "Licensed PicMilo sample photo: Abhishek Shekhawat / Pexels, Pexels License (see /licenses/sample-photo.txt). Used as an editing sample, not an accepted document photo.",
    "landmarks": "In the 800×1422 original: main outline of the hair at y≈284 (a few stray strands reach y≈268), pupils y≈528, bottom of the chin y≈743 (checked on 3× enlargements with a 10 px grid)."
  },
  "settings": {
    "sizeLimit": "500 KB (default on /en/)",
    "backgroundRemoval": "off (country document presets keep the original background)",
    "arrowKeys": "ArrowDown moves the photo 2 CSS pixels, Shift+ArrowDown 10; the 600×600 frame was 270 CSS pixels and the 413×531 frame 256.7 × 330 CSS pixels"
  },
  "method": "Saved files were captured from the live editor's Save photo download. On each saved JPG: top of the hair = first row in which at least 8 pixels in the middle 60% of the width have a brightness (0.299R+0.587G+0.114B) below 90, which ignores a few stray strands; bottom of the chin = darkest row (mean brightness of the central chin columns) within 20 px of the position expected from the crop, i.e. the shadow line under the chin; eye line = darkest row in two eye boxes. Head height = chin row − hair row. Percentages are of the image height; millimetres assume the file is printed at its preset size (45 mm tall for 531 px). Checked visually with overlay lines.",
  "replacedExport": "A first Japan export at 169% zoom (top of the hair on the outline's top line, 55,769 bytes) measured 397 px = 33.6 mm from the top of the hair but 374 px = 31.7 mm by MOFA's voluminous-hair method (eye-to-chin 187 px × 2), just under 32 mm. It was replaced by the 175% export and is kept only in the local QA folder.",
  "figure": "comparison.svg shows the four saved JPGs reduced for display (panels 1–4 = results.panel) with the measured top-of-hair and chin lines.",
  "results": [
    {
      "file": "jp-35x45-zoom-100.jpg",
      "panel": 1,
      "preset": "Japan — Passport · print · 35 × 45 mm (jpPrint)",
      "width": 413,
      "height": 531,
      "zoomPercent": 100,
      "position": "default (centred)",
      "hairTopY": 47,
      "chinY": 281,
      "headPx": 234,
      "headPercentOfHeight": 44.1,
      "headMmAt45mmPrint": 19.8,
      "officialRange": "MOFA: 34 ± 2 mm (32–36 mm) from the top of the head (頭頂) to the chin on a 45 mm tall print",
      "insideRange": false,
      "note": "Too small whichever top is used: MOFA's voluminous-hair top lies below the top of the hair, so it would give an even smaller head.",
      "bytes": 50359,
      "sha256": "4cc9bbdde8275a50235e1cc17cb6571d0cc8a8c37adfe9730a0743abd7746508"
    },
    {
      "file": "jp-35x45-zoom-175.jpg",
      "panel": 2,
      "preset": "Japan — Passport · print · 35 × 45 mm (jpPrint)",
      "width": 413,
      "height": 531,
      "zoomPercent": 175,
      "position": "after zoom, 9× Shift+ArrowDown on the crop frame",
      "hairTopY": 26,
      "eyeY": 243,
      "chinY": 438,
      "headPx": 412,
      "headPercentOfHeight": 77.6,
      "headMmAt45mmPrint": 34.9,
      "hairTopMarginMm": 2.2,
      "chinToBottomMm": 7.9,
      "mofaVoluminousHairMethod": {
        "rule": "MOFA notice (March 2025): if the hair has a lot of volume, take a distance above the eyes about equal to the eye-to-chin distance and treat that point as the top of the head (頭頂).",
        "eyeToChinPx": 195,
        "topY": 48,
        "headPx": 390,
        "headMm": 33.1,
        "topMarginMm": 4.1
      },
      "officialRange": "MOFA: head 34 ± 2 mm, space above the head 4 ± 2 mm, chin to bottom edge 7 ± 2 mm",
      "insideRange": true,
      "note": "Inside MOFA's ranges both from the top of the hair (34.9 mm) and by MOFA's voluminous-hair method (33.1 mm, top 4.1 mm below the upper edge, chin 7.9 mm above the lower edge). Source width used: 413 / 0.9034 ≈ 457 px for 413 px of output (no enlargement).",
      "bytes": 56739,
      "sha256": "ce4c99bb27c854e159043a39b11d41cdf7798b6e16ccb7377858f3fc79a13d1c"
    },
    {
      "file": "us-visa-zoom-100.jpg",
      "panel": 3,
      "preset": "United States — Visa · DS-160 / DV online upload · 600 × 600 px · ≤240 KB (usVisa)",
      "width": 600,
      "height": 600,
      "zoomPercent": 100,
      "position": "3× Shift+ArrowDown and 3× ArrowDown on the crop frame",
      "hairTopY": 61,
      "chinY": 403,
      "headPx": 342,
      "headPercentOfHeight": 57,
      "eyeY": 241,
      "eyeHeightPercentFromBottom": 59.8,
      "officialRange": "travel.state.gov visa photo composition template (digital): top of the head including the hair to the bottom of the chin 50–69% of the image height; eye height 56–69% from the bottom",
      "insideRange": true,
      "bytes": 77055,
      "sha256": "54a4dc9548ebeb1869418da420b22fcfa92eb4ded85e938410fd350e5bab9535"
    },
    {
      "file": "us-visa-zoom-130.jpg",
      "panel": 4,
      "preset": "United States — Visa · DS-160 / DV online upload · 600 × 600 px · ≤240 KB (usVisa)",
      "width": 600,
      "height": 600,
      "zoomPercent": 130,
      "position": "continued from panel 3: zoom 130%, then 2× Shift+ArrowDown and 1× ArrowDown",
      "hairTopY": 37,
      "chinY": 482,
      "headPx": 445,
      "headPercentOfHeight": 74.2,
      "eyeY": 273,
      "eyeHeightPercentFromBottom": 54.5,
      "officialRange": "travel.state.gov: 50–69% head, 56–69% eye height",
      "insideRange": false,
      "bytes": 76512,
      "sha256": "d535b5e62da875bb94dd30d15be1f217e3ec624f1ebec142cce96d04353871bc"
    },
    {
      "file": "us-visa-130-reopened.jpg",
      "panel": null,
      "preset": "United States — Visa (usVisa), same preset kept after opening a new file",
      "input": "us-visa-zoom-130.jpg opened again with Choose photo",
      "width": 600,
      "height": 600,
      "zoomPercent": 100,
      "zoomBelow100": "Setting the slider to 80 left it at 100 (slider minimum 100: the photo must fill the frame)",
      "hairTopY": 37,
      "chinY": 482,
      "headPx": 445,
      "headPercentOfHeight": 74.2,
      "insideRange": false,
      "bytes": 76691,
      "sha256": "bd67a2eb1965f912c02cfbd27427f3f18272271bafdb9a2d8685e1cb75f7dd70"
    }
  ]
}
