From 6d839d9e50c7d66a3e6ed35eafa1fc018888be31 Mon Sep 17 00:00:00 2001 From: kura Date: Tue, 17 Dec 2024 10:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.html b/test/index.html index 8b4678a..db56ccc 100644 --- a/test/index.html +++ b/test/index.html @@ -74,8 +74,8 @@ var outputSizePtr = Module._malloc(4); // 存储输出大小的指针 // 设置目标宽高和质量因子 - var targetWidth = 1920; // 目标宽度 - var targetHeight = 1080; // 目标高度 + var targetWidth = 300; // 目标宽度 + var targetHeight = 300; // 目标高度 var qualityFactor = 50 // 压缩质量 (0 - 100) var inputDataPtr = Module._malloc(inputData.length); Module.HEAPU8.set(inputData, inputDataPtr);