修复时间计算

This commit is contained in:
kura 2025-07-07 13:16:44 +08:00
parent 0a4beef316
commit 5cda7db400

View File

@ -82,6 +82,7 @@
if (file) {
const reader = new FileReader();
reader.onload = function(e) {
startTime=Date.now();
const buffer = base64ToArrayBuffer(e.target.result.split(",")[1]);
const targetWidth = document.getElementById("width").value;
const targetHeight = document.getElementById("height").value;