i'm working on windows phone 8.1 app and in this app i want to store BitmapImage into Picture Library.
BitmapImage code i'm using:
BitmapImage bmpImage = new BitmapImage(new Uri(file.Path));
i can create jpeg image in picture library using following code:
StorageFile file1 = await KnownFolders.PicturesLibrary.CreateFileAsync("Photo.jpg",CreationCollisionOption.GenerateUniqueName);
now how to save "bmpImage" into "file1" ?