更新 'SrcJuMethod.js'

Ju
src48597962 2 years ago
parent 3ca10d1b6b
commit 661611d2e2
  1. 4
      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);

Loading…
Cancel
Save