From f7a3d3557f6d61b3b965397df2bb61b45f7331db Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Fri, 4 Aug 2023 22:08:31 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SrcJuMethod.js b/SrcJuMethod.js index 5a6f12d1..c1adec89 100644 --- a/SrcJuMethod.js +++ b/SrcJuMethod.js @@ -103,10 +103,9 @@ function imageCompress(imgurl,fileid) { const BitmapFactory = android.graphics.BitmapFactory; const FileOutputStream = java.io.FileOutputStream; let options = new BitmapFactory.Options(); - options.inSampleSize = 2; + options.inSampleSize = 3; options.inPurgeable = true; let bitmap; - if (topath && typeof path === "object" && path.getClass) { bitmap = BitmapFactory.decodeStream(path, null, options); closeMe(path);