From 3d05e76f57f477a2b2c5c5b501c32a272f90d0a2 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 4 Aug 2023 16:31:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuMethod.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuMethod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJuMethod.js b/SrcJuMethod.js index 0827f0ea..009f9e3c 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -109,9 +109,9 @@ function imageCompress(imgurl,fileid) { let bitmap1; if (typeof path === "object" && path.getClass) { - bitmap1 = BitmapFactory.decodeStream(path, null, options); + bitmap1 = BitmapFactory.decodeStream(path, null, options1); } else { - bitmap1 = BitmapFactory.decodeFile(path, options); + bitmap1 = BitmapFactory.decodeFile(path, options1); } options1.inJustDecodeBounds = false; let size;