as a result from image-cache I have an Image class . When I trace is : android.graphics.Bitmap@20e949 . I am trying to save it as file on local , but I it seems I am doing mistake . There are some examples, but most of them using camera imageAsset .
So I am trying something like this where image is result from casheImage.push , which is android.graphics.Bitmap@20e949 .
let source2 =
let folder2 = fs.knownFolders.documents().path;
let path2 = fs.path.join(folder2, self._imageSrc);
let saved2 = source2.saveToFile(path,
"Saved image To Hard Disk Local Cashe"