mirror of
https://github.com/itorr/one-last-image.git
synced 2026-01-02 11:56:02 +08:00
默认开启降噪
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user