From 5357c2f2fe699a0e8442ce251347cc2fcc3fd66f Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Tue, 30 May 2023 12:05:45 +0200 Subject: [PATCH] a --- other/logo-detect/test1.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/logo-detect/test1.html b/other/logo-detect/test1.html index 1688b4c..4da7dad 100644 --- a/other/logo-detect/test1.html +++ b/other/logo-detect/test1.html @@ -15,7 +15,7 @@ img.onload = function (event) { var canvas = document.createElement("canvas"); var ctx = canvas.getContext("2d"); - ctx.drawImage(img, 0, 0, 300, 300); + ctx.drawImage(img, 0, 0, 48, 48); var dataurl = canvas.toDataURL(imageFile.type); document.getElementById("preview").src = dataurl; }