I have a BitmapImage by doing this:
var bitmap = new BitmapImage(new Uri(url, UriKind.Absolute))
But, because I am working with a Cortana App, I need to use StorageFile as the image type (very stupid imo, but that is how it is)
So, how can I transform that bitmap into the StorageFile I need, or how can I download an image through an URL into a StorageFile, because
StorageFle.GetFileFromApplicationUriAsync(Uri uri)
keeps popping an exception of "Value does not fall within the specified range"
Any help would be very much appreciated, thanks!