默认开启降噪

This commit is contained in:
itorr
2022-08-16 15:40:59 +08:00
parent 609f7d41ac
commit 488dcedb56

View File

@@ -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,