From 661611d2e23494ff8bfe3c32a103642261cf14cc Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 4 Aug 2023 16:31:07 +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 b008961f..0827f0ea 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -126,10 +126,10 @@ function imageCompress(imgurl,fileid) { options2.inPurgeable = true; let bitmap2; if (topath && typeof path === "object" && path.getClass) { - bitmap2 = BitmapFactory.decodeStream(path, null, options); + bitmap2 = BitmapFactory.decodeStream(path, null, options2); closeMe(path); } else { - bitmap2 = BitmapFactory.decodeFile(path, options); + bitmap2 = BitmapFactory.decodeFile(path, options2); topath = topath || path; } let os = new FileOutputStream(topath);