From 76bbcd080b198a1423f0e40e00936574ac4d4cb5 Mon Sep 17 00:00:00 2001 From: Photopea Date: Wed, 29 Jul 2020 11:22:36 +0200 Subject: [PATCH] Add files via upload --- UPNG.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPNG.js b/UPNG.js index 65aff3e..ce5fe2c 100644 --- a/UPNG.js +++ b/UPNG.js @@ -998,7 +998,7 @@ UPNG.quantize.estats = function(stats){ ]; var A = Rj, M = UPNG.M4; - var b = [0.5,0.5,0.5,0.5], mi = 0, tmi = 0; + var b = [Math.random(),Math.random(),Math.random(),Math.random()], mi = 0, tmi = 0; if(N!=0) for(var i=0; i<16; i++) {