From 598ae04ba54c786c91e9c1ea641c11268b08187c Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Sun, 19 Jul 2020 05:39:49 -0700 Subject: [PATCH] Tighten image comparison requirements. --- scripts/docs_gen.py | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docs_gen.py b/scripts/docs_gen.py index d2f819c..b1131d3 100755 --- a/scripts/docs_gen.py +++ b/scripts/docs_gen.py @@ -97,7 +97,7 @@ def image_compare(file1, file2): sq = (value * (i % 256) ** 2 for i, value in enumerate(diff)) sum_squares = sum(sq) rms = math.sqrt(sum_squares / float(img1.size[0] * img1.size[1])) - return rms<10 + return rms<2 def image_resize(infile, outfile, newsize=(320,240)): diff --git a/version.scad b/version.scad index eda7210..b15931a 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,391]; +BOSL_VERSION = [2,0,392]; // Section: BOSL Library Version Functions