{
  "checkedAt": "2026-11-22T01:27:28.788Z",
  "product": "https://picmilo.com/en/ (live, 2026-11-22, production deployment a9ad020c, commit be15f95)",
  "input": {
    "sample": {
      "file": "/assets/sample-portrait.jpg",
      "width": 800,
      "height": 1422,
      "bytes": 77732,
      "rights": "Licensed PicMilo sample photo: Abhishek Shekhawat / Pexels, Pexels License (see /licenses/sample-photo.txt). Photographed outdoors against a light, blurred background, not a wall. Used as an editing sample, not an accepted document photo."
    },
    "testCard": {
      "file": "test-card.png",
      "width": 1200,
      "height": 1500,
      "bytes": 27012,
      "sha256": "d000acf19a6c2a250b64cae7331bf81f2e40b13c6404433568f639d69379d852",
      "rights": "Original PicMilo test image drawn with code on 2026-11-22: three flat vertical bands at RGB 255, 240 and 225 behind a plain dark grey head-and-shoulders shape. Not a photo."
    }
  },
  "settings": {
    "sample": {
      "commonSize": "2 × 2 inch (600×600 px)",
      "zoomPercent": 100,
      "position": "default, then three Shift+ArrowDown steps on the crop frame",
      "sizeLimit": "500 KB (default on /en/)",
      "backgroundRemoval": [
        "off (original background)",
        "on (Remove background, same crop)"
      ]
    },
    "testCard": {
      "commonSize": "2 × 2 inch (600×600 px)",
      "zoomPercent": 100,
      "position": "default",
      "sizeLimits": [
        "500 KB",
        "custom 20 KB (identical 12,058-byte file, kept only in local QA)",
        "custom 5 KB"
      ],
      "backgroundRemoval": "off"
    }
  },
  "results": [
    {
      "file": "original-background.jpg",
      "width": 600,
      "height": 600,
      "bytes": 76716,
      "sha256": "5d59014efbe6526d36d1aabfcae3543a3a6a1a47b35aa4a955bf9ae024ce2a31",
      "background": "original"
    },
    {
      "file": "background-removed.jpg",
      "width": 600,
      "height": 600,
      "bytes": 59329,
      "sha256": "004178b3354fc3de6cd003ecabb9d0d3b4e8440c74378d960169c10168f89352",
      "background": "removed in PicMilo (white)"
    },
    {
      "file": "test-card-500kb.jpg",
      "width": 600,
      "height": 600,
      "bytes": 12058,
      "sha256": "cacf4445b4d73c538a2634258cb5697c1b90dc354e479c3babd84aecbcb17c59",
      "background": "test card, 500 KB limit"
    },
    {
      "file": "test-card-5kb.jpg",
      "width": 600,
      "height": 600,
      "bytes": 4913,
      "sha256": "432163ad0e4d340c2e1227e4f0a62f4c1c8beab6c83bd1d27925e709d3481d91",
      "background": "test card, custom 5 KB limit"
    }
  ],
  "brightness": {
    "method": "Pixels decoded in the browser (createImageBitmap, canvas getImageData). Brightness = luma 0.299R + 0.587G + 0.114B on the 0–255 scale of an 8-bit JPG. Coordinates in the 600×600 output.",
    "background": {
      "definition": "Pixels that are pure white (all channels 254 or above) in background-removed.jpg, measured at the same positions in original-background.jpg.",
      "pixels": 160928,
      "sharePercent": 44.7,
      "originalMeanRGB": [
        176,
        175.9,
        174.5
      ],
      "originalMeanLuma": 175.8,
      "percentiles": {
        "p5": 96.8,
        "p25": 153.2,
        "p50": 181.2,
        "p75": 206.1,
        "p95": 228
      },
      "brightestLuma": 238,
      "brightestPixel": {
        "x": 482,
        "y": 84,
        "rgb": [
          234,
          239,
          243
        ]
      },
      "highestChannelValue": 246,
      "pixelsAtLeast240": 0,
      "pixelsAtLeast250": 0,
      "pixelsBelow200": 109664,
      "removed": "mask threshold: all channels 254 or above in background-removed.jpg (the four measured boxes are 255,255,255 throughout)"
    },
    "boxes": {
      "topRight": {
        "box": [
          480,
          20,
          580,
          120
        ],
        "originalMeanRGB": [
          203.6,
          210.2,
          208.7
        ],
        "originalMeanLuma": 208.1,
        "originalMaxLuma": 238,
        "removedMeanLuma": 255
      },
      "leftSide": {
        "box": [
          20,
          250,
          120,
          350
        ],
        "originalMeanRGB": [
          141.4,
          133,
          135.8
        ],
        "originalMeanLuma": 135.8,
        "originalMaxLuma": 204.2,
        "removedMeanLuma": 255
      },
      "topLeft": {
        "box": [
          20,
          20,
          120,
          120
        ],
        "originalMeanRGB": [
          180.2,
          181.8,
          186.9
        ],
        "originalMeanLuma": 181.9,
        "removedMeanLuma": 255
      },
      "rightSide": {
        "box": [
          490,
          250,
          590,
          350
        ],
        "originalMeanRGB": [
          176.4,
          176.2,
          170.7
        ],
        "originalMeanLuma": 175.6,
        "removedMeanLuma": 255
      }
    },
    "testCard": {
      "regions": {
        "white255": [
          20,
          20,
          180,
          180
        ],
        "grey240": [
          220,
          20,
          380,
          120
        ],
        "grey225": [
          420,
          20,
          580,
          180
        ]
      },
      "limit500": {
        "bytes": 12058,
        "white255": 255,
        "grey240": 240,
        "grey225": 225,
        "note": "every pixel in each region exactly equal to the input value"
      },
      "limit5": {
        "bytes": 4913,
        "white255": 253,
        "grey240": 241,
        "grey225": 228,
        "note": "every pixel in each region equal to the listed value"
      }
    }
  },
  "productUiCheck": "With the sample at 2 × 2 inch and the background removed, choosing Country & document \"United States — Visa · DS-160 / DV online upload · 600 × 600 px · ≤240 KB\" switched the button back to Remove background (aria-pressed false) and disabled it, showed \"Official documents use the original background.\" and the preview corner returned to the original background colour (177,182,188).",
  "figure": "comparison.svg embeds original-background.jpg (1) and background-removed.jpg (2) unchanged, scaled to 440×440 (73%). Boxes: topRight (label 208) and leftSide (label 136) with their average luma; on 2 both 255. Swatches from top: pure white 255, the brightest background pixel of 1 (rgb 234,239,243, luma 238) and the average background colour of 1 (rgb 176,176,175, luma 176).",
  "method": "Opened https://picmilo.com/en/ in a desktop Chromium tab on 2026-11-22, clicked Try a sample photo, chose 2 × 2 inch, kept 100% zoom and the 500 KB limit, moved the crop down three Shift+ArrowDown steps, clicked Save sample (download 1), clicked Remove background (about 7.5 s including loading the tool), waited for Restore original and clicked Save sample (download 2). Then chose the code-drawn test card with Change photo (2 × 2 inch, 100%), saved with the 500 KB limit and with a custom 5 KB limit. Browser blobs saved without recompressing.",
  "limits": "One stock photo taken outdoors and one code-drawn test image, one desktop browser. No wall was photographed and no authority photo checker was tested; the numbers do not say which brightness any checker accepts."
}
