Tighten down requirements for image compare in docs generation.

This commit is contained in:
Revar Desmera 2020-02-15 16:53:29 -08:00
parent 51e7f514a4
commit fa84fffa94
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,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<100
return rms<10
def image_resize(infile, outfile, newsize=(320,240)):

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,128];
BOSL_VERSION = [2,0,129];
// Section: BOSL Library Version Functions