@ -164,10 +164,7 @@ function imageCompress(imgurl,fileid) {
let newpath = "/storage/emulated/0/Android/data/com.example.hikerview/files/Documents/_cache/"+(fileid||"")+"_"+getName(imgurl);
log(newpath);
//compress(f, 2, newpath);
//log(f);
let f = fetch(imgurl, {
inputStream: true
});
log(f);
let r = compress(f, 3, newpath);
log(r);
return "file://" + newpath;