diffimg: binary tool for comparing images (#9668)

This tool uses existing libraries: image, imageio, imageio-lite,
imagediff to perform difference comparison for on-disk images.

We refactor renderdiff to use this tool instead of using
python dependencies.


Co-authored-by: Ben Doherty <bendoherty@google.com>
This commit is contained in:
Powei Feng
2026-02-10 22:42:30 +00:00
committed by GitHub
co-authored by Ben Doherty
parent 19209a00e6
commit d6caa9dc0b
15 changed files with 469 additions and 352 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ function start_render_() {
python3 -m venv ${VENV_DIR}
source ${VENV_DIR}/bin/activate
NEEDED_PYTHON_DEPS=("numpy" "tifffile")
NEEDED_PYTHON_DEPS=()
for cmd in "${NEEDED_PYTHON_DEPS[@]}"; do
if ! python3 -m pip show -q "${cmd}"; then
python3 -m pip install ${cmd}