title: Saving a BitmapImage object as a file in local storage in windows 8?
body: <p>I have a BitmapImage object, which already has its source etc set. I simply want to save it to my apps local storage folder, so that I can reference it at other points in the program. I just cannot figure out how to get it from object to file though! I've found solutions to similar problems for WP7, but its just not the same.</p>
  
  <p>Ive got as far as creating my image from a Base64 string (which works as I can load the image into a UI image viewer and see it) and have called it <code>img</code>, and I know I need to get it to <code>ApplicationData.Current.LocalFolder</code>, but I have no idea how to convert it. Does anyone know?</p>