How to save Image to local disk using Folderpicker or FileSavepicker RRS feed

  • Question

  • Hi,

    In my XMAL Metro app, I am trying to save a photo which I downloaded from Sky drive (using LIVE SDK) into local system disk/folder selected by user using Folderpicker. I have the downloaded photo  in the form of BitmapImage object. Please let me know how to save this to local folder. I thought of using DataWriter to write the file. It accepts byte array (with the method WriteBytes). But I didn't find a way how to convert BitmapImage to byte array in Metro apps.

    Any help here will be appreciated. 


    Monday, March 5, 2012 2:27 AM


All replies