I have a image icon.png
and i am using FFImageloading plugin to re-size image. Than I am converting Stream to ImageSource and displaying the result. works fine
How to save re-size image stream into cache folder and get path of it? can someone point me in right direction plz
var stream = await ImageService.Instance.LoadFile("icon.png")
.DownSample(width: 200)
.AsPNGStreamAsync();
ImageSource myImageS= ImageSource.FromStream(() => stream);
DisplayImage.Source = myImageS;
I can use File.Move
but i would need path of stream content