From ed3349cbf72c71c1ca9b1d973338bd30871ea65b Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Fri, 9 May 2025 22:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9B=BE=E7=89=87=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E8=B4=A8=E9=87=8F=EF=BC=8C=E4=BB=8E0.95=E9=99=8D?= =?UTF-8?q?=E4=BD=8E=E8=87=B30.90=EF=BC=8C=E4=BB=A5=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=A4=84=E7=90=86=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/util.image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/util.image.js b/web/util.image.js index 0c2a97a..ceef682 100644 --- a/web/util.image.js +++ b/web/util.image.js @@ -18,7 +18,7 @@ export async function processImage(file, callback) { const ctx = canvas.getContext('2d'); ctx.drawImage(img, 0, 0, w, h); let dataUrl; - dataUrl = canvas.toDataURL('image/webp', 0.95); + dataUrl = canvas.toDataURL('image/webp', 0.90); callback(dataUrl); }; const reader = new FileReader();