Commit 7e57af217 for imagemagick.org

commit 7e57af217e7108cb1319b9168bb8cc13c950bd26
Author: Dirk Lemstra <dirk@lemstra.org>
Date:   Sun Oct 11 16:39:13 2026 +0200

    Fix Q8 connected-components validation input

diff --git a/tests/validate.h b/tests/validate.h
index 12ff4a1d4..7193aa5d6 100644
--- a/tests/validate.h
+++ b/tests/validate.h
@@ -129,6 +129,9 @@ static const char
     "-crop 17x9+10+10",
     "-crop 60x70+10+10",
     "-cycle 200",
+#if MAGICKCORE_QUANTUM_DEPTH == 8
+    "-threshold 50% "
+#endif
     "-define connected-components:area-threshold=16 -connected-components 8",
     "-density 75x75 -resample 50x50",
     "-depth 7",