There has been quite a few image-to-isolated-storage questions here, but I couldn't find a good answer for my situation - so here we go.
I am fetching a .png
image from the web, and saving it as a BitmapImage
-object. When it's done loading (on the BitmapImage.ImageOpened
event), I want to save it to isolated storage.
So, how can I get the bytes or file stream from this BitmapImage (or directly from the web - doesn't matter) so that I can write it to my IsolatedStorageFileStream
? I can't find a single post about it on the internet that works on WP7 (so BitmapImage.StreamSource
is not available) with .png images. Any help would be greatly appreciated.