更新 'SrcJuMethod.js'

Ju
src48597962 2 years ago
parent 2a44fa6e79
commit f7a3d3557f
  1. 3
      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);

Loading…
Cancel
Save