#!/usr/bin/env bash
set -euo pipefail
cd /tmp/issue-lead-33381-r1/evidence-capture/20261109-run1
# Binary zero-threshold amplification makes every nonzero difference white.
compare -metric AE -fuzz 0% -highlight-color white -lowlight-color black W1-before.png W1-after.png W1-diff0.png || test "$?" = 1
# ImageMagick compare reports AE; status 1 means images differ as expected.
compare -metric AE -fuzz 5% -highlight-color red -lowlight-color black W1-before.png W1-after.png W1-diff5pct.png || test "$?" = 1
