From 488dcedb56e6140251f73232bd26f0d3d8a9cde7 Mon Sep 17 00:00:00 2001 From: itorr Date: Tue, 16 Aug 2022 15:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=BC=80=E5=90=AF=E9=99=8D?= =?UTF-8?q?=E5=99=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/louvre.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/html/louvre.js b/html/louvre.js index 500c298..1fef7cf 100644 --- a/html/louvre.js +++ b/html/louvre.js @@ -243,6 +243,15 @@ const louvre = async ({img, outputCanvas, config, callback}) => { + pixel = convoluteY( + pixel, + [ + 1/9, 1/9, 1/9, + 1/9, 1/9, 1/9, + 1/9, 1/9, 1/9 + ], + ctx + ); let pixel1 = config.convoluteName ? convoluteY( pixel,