From 4773adbb322e25a9e6853d4e78678dcb6746c846 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Sun, 17 May 2020 19:59:41 +0800 Subject: [PATCH] =?UTF-8?q?C2=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=9B=9D=E5=85=89=E5=BA=A6=E4=B8=8E=E5=AF=B9=E6=AF=94=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/renderer/RendererResImage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/renderer/RendererResImage.js b/src/components/renderer/RendererResImage.js index 7c349f5..deb0909 100644 --- a/src/components/renderer/RendererResImage.js +++ b/src/components/renderer/RendererResImage.js @@ -135,8 +135,8 @@ function getGrayPointList(params, size, black, white) { size *= 3; img.src = params[0]; - let contrast = params[1]; - let exposure = params[2]; + let contrast = params[1]/100; + let exposure = params[2]/100; return new Promise(resolve => { img.onload = () => { canvas.width = size;